Patchfirst
CVE-2022-3786 Public exploit High · 7.5 EPSS 92.5%

X.509 Email Address Variable Length Buffer Overflow

OpenSSL · OpenSSL

Official description · CVE.org

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.

Breakdown
33.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 2 months after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+2 mo

7 fixes in openssl-src over 8 months. The latest fix listed for openssl-src is 300.0.12.

Fixes in openssl-srcCargo package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 300.0.9CVE-2022-22741 Jul 2022
  2. 300.0.10CVE-2022-335811 Oct 2022
  3. 300.0.11CVE-2022-36021 Nov 2022
  4. 300.0.11CVE-2022-37861 Nov 2022
  5. 300.0.12CVE-2022-399613 Dec 2022
  6. 300.0.12CVE-2022-43048 Feb 2023
  7. 300.0.12CVE-2022-420324 Feb 2023Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: openssl-src.

Upgrade to 300.0.12 or later

Fixes this CVE and 3 other known vulnerabilities in this package (CVE-2022-0778, CVE-2022-3602, +1).

Cargocargo update -p openssl-src --precise 300.0.12

First fixed in 300.0.11 for CVE-2022-3786.

Affected versions

If you runUpgrade to
300.0.0 up to 300.0.11300.0.12first fix for this CVE: 300.0.11

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close