CVE-2022-3786
CVE-2022-3786 · X.509 Email Address Variable Length Buffer Overflow
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 92.5% · Fix available
- Published
- Updated
Affected products and versions
openssl
- Versions
- ≥ 3.0.0, < 3.0.7: Affected (semver)
Update to 3.0.7
openssl Debian:12
- Affected ranges
- ECOSYSTEM: < 3.0.7-1
Update to 3.0.7-1
openssl Debian:13
- Affected ranges
- ECOSYSTEM: < 3.0.7-1
Update to 3.0.7-1
openssl Debian:14
- Affected ranges
- ECOSYSTEM: < 3.0.7-1
Update to 3.0.7-1
openssl Ubuntu:22.04:LTS
- Versions
- 1.1.1l-1ubuntu1
- 3.0.0-1ubuntu1
- 3.0.1-0ubuntu1
- 3.0.2-0ubuntu1
- 3.0.2-0ubuntu1.1
- 3.0.2-0ubuntu1.2
- 3.0.2-0ubuntu1.4
- 3.0.2-0ubuntu1.5
- 3.0.2-0ubuntu1.6
- Affected ranges
- ECOSYSTEM: < 3.0.2-0ubuntu1.7
Update to 3.0.2-0ubuntu1.7
Original sources
- https://www.openssl.org/news/secadv/20221101.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c42165b5706e42f67ef8ef4c351a9a4c5d21639a
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00789.html
- https://www.kb.cert.org/vuls/id/794340
- https://cert-portal.siemens.com/productcert/html/ssa-408105.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-3786