CVE-2022-3602 X.509 Email Address 4-byte Buffer Overflow
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. 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. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io openssl-src(crates.io) | >= 300.0.0, < 300.0.11 | 300.0.11 |
| debian/openssl(Debian:12) | < 3.0.7-1 | 3.0.7-1 |
| debian/openssl(Debian:13) | < 3.0.7-1 | 3.0.7-1 |
| debian/openssl(Debian:14) | < 3.0.7-1 | 3.0.7-1 |
| OpenSSL | = Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6) | No fix listed |
| Siemens Calibre ICE | >= V2022.4, < V2023.1 | V2023.1 |
| Siemens Mcenter | >= V5.2.1, < V5.3.0 | V5.3.0 |
| Siemens SCALANCE X204RNA (HSR) | >= V3.2.7, < V3.2.8 | V3.2.8 |
| Siemens SCALANCE X204RNA (PRP) | >= V3.2.7, < V3.2.8 | V3.2.8 |
| Siemens SCALANCE X204RNA EEC (HSR) | >= V3.2.7, < V3.2.8 | V3.2.8 |
| Siemens SCALANCE X204RNA EEC (PRP) | >= V3.2.7, < V3.2.8 | V3.2.8 |
| Siemens SCALANCE X204RNA EEC (PRP/HSR) | >= V3.2.7, < V3.2.8 | V3.2.8 |
| Siemens SICAM GridPass | >= V1.80, < V2.20 | V2.20 |
| Siemens SIMATIC RTLS Locating Manager | >= V2.13.0.0, < V2.13.0.3 | V2.13.0.3 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.7 | 3.0.2-0ubuntu1.7 |
| OpenSSL | >= 3.0.0, < 3.0.7 | 3.0.7 |
| fedoraproject fedora | = 36 | No fix listed |
| fedoraproject fedora | = 37 | No fix listed |
| fedoraproject fedora | = 26 | No fix listed |
| fedoraproject fedora | = 27 | No fix listed |
| netapp clustered data ontap | All versions | No fix listed |
| nodejs node.js | >= 18.0.0, < 18.11.0 | 18.11.0 |
| nodejs node.js | = 18.12.0 | No fix listed |
| nodejs node.js | = 19.0.0 | No fix listed |
| alpine/nodejs(Alpine:v3.17) | < 18.12.1-r0 | 18.12.1-r0 |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/nodejs(Alpine:v3.18) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.19) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.20) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.21) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.22) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.23) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/nodejs(Alpine:v3.24) | < 18.12.1-r0 | 18.12.1-r0 |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.18) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.19) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.0.0, < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl3(Alpine:v3.15) | < 3.0.7-r0 | 3.0.7-r0 |
| alpine/openssl3(Alpine:v3.16) | < 3.0.7-r0 | 3.0.7-r0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- www.openssl.org vendor-advisory
- VU#794340 third-party-advisory us-government-resource
- www.intel.com
- 20221028 Vulnerabilities in OpenSSL Affecting Cisco Products: November 2022 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- GLSA-202211-01 issue-tracking third-party-advisory vendor-advisory
- rustsec.org vendor-advisory
- psirt.global.sonicwall.com third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- FEDORA-2022-0f1d2e0537 mailing-list third-party-advisory vendor-advisory
- FEDORA-2022-502f096dce mailing-list third-party-advisory vendor-advisory
- github.com product
- git.openssl.org
- git.openssl.org broken-link third-party-advisory
- packetstormsecurity.com third-party-advisory vdb-entry
- [oss-security] 20221101 OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: Fwd: Node.js security updates for all active release lines, November 2022 mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221101 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221102 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- [oss-security] 20221103 Re: Re: OpenSSL X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602), X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786) mailing-list third-party-advisory
- crates.io product
- Debian Security Tracker CVE-2022-3602 vendor-advisory
- github.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-5710-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory