Vulnerability in tls
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-45389 has been found in tls.
Confidential information can be exposed externally. CVSS score: 7.4/10.
What to do: upgrade tls to 2.1.0, b1a598ef9be83a4f8b0f73a4e2d9730d50906049 or later.
If unsure, ask your IT team or search "tls CVE-2026-45389" on the vendor's site.
CVE-2026-45389 (tls) — CWE-295 / CVSS v3 7.4
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.1.0, b1a598ef9be83a4f8b0f73a4e2d9730d50906049 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-295) exists in tls.
Check the vendor advisory for the affected versions of tls.
Severity: High (CVSS 7.4/10). Confidential information can be exposed externally.
Update to 2.1.0, b1a598ef9be83a4f8b0f73a4e2d9730d50906049.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'tls' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'tls' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
tlsを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade tls to 2.1.0, b1a598ef9be83a4f8b0f73a4e2d9730d50906049ステージング環境で 2.1.0, b1a598ef9be83a4f8b0f73a4e2d9730d50906049 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| opamtls |
< 2.1.0→ 2.1.0 |
2.1.0 |
Original description The description as published by the source.
The TLS server implementation does not validate the KeyUsage and ExtendedKeyUsage extensions of client certificates when mutually authenticated TLS is requested. This can lead to impersonation with a certificate issued to a server.
Scenario
An operations engineer enables mTLS on the admin endpoint of a banking service. The setup is canonical: provide an authenticator on the ocaml-tls listener. She believes the gate is now set: only certificates issued under the corporate root, intended for client authentication, can authenticate at the admin endpoint.
An attacker inside the same corporate trust domain holds the legitimate TLS server cert for some internal HTTPS service they administer. The cert is real, signed by the corporate root, valid, not revoked. Its Extended Key Usage extension lists id-kp-serverAuth and nothing else — the cert was issued for serving HTTPS, not for authenticating clients. The X.509 RFC says exactly that distinction: a cert's role is constrained by its EKU, and a serverAuth-only cert is not authorised to act as a client.
The attacker presents that cert to the bank's ocaml-tls mTLS listener. The hook fires, the chain validates against the corporate root. The ocaml-tls library's does neither check that the presented certificate includes digitalSignature in its keyUsage, neither looks that clientAuth is present in the ExtendedKeyUsage. The handshake completes. The attacker is now authenticated as a client at the bank's admin endpoint,…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- web cve@mitre.org
- web nvd.nist.gov
- web github.com