CVE-2022-3602
OpenSSL: X.509 Email Address Buffer Overflow
Overview
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).
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-787
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | node | >=18.0.0, <18.11.0>=18.12.0, <18.12.1>=19.0.0, <19.0.1 | 18.11.018.12.119.0.1 |
| Bitnami | node-min | >=18.0.0, <18.11.0>=18.12.0, <18.12.1>=19.0.0, <19.0.1 | 18.11.018.12.119.0.1 |
| Cargo (Rust) | openssl-src | >=300.0.0, <300.0.11 | 300.0.11 |
| Conan (C/C++) | openssl | >=3.0.0 <3.0.7 | 3.0.7 |
Open a package to see all its vulnerabilities.
Operating systems · 43 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-43.0.1.el9_0 |
| 9 | openssl +3 | 2:3.0.1-43.0.1.ksplice1.el9_0 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.20.8-1.ph4 |
| 4.0 | openssl +4 | 3.0.6-2.ph4 |
| 5.0 | nodejs +1 | 18.16.0-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | openssl +3 | 1:3.0.1-43.el9_0 | RHSA-2022:7288 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.11.1 | SUSE-SU-2022:3843-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-43.el9_0 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs | 18.12.1-r0 |
| 3.22 | openssl | 3.0.7-r0 |
| 3.23 | nodejs | 18.12.1-r0 |
| 3.23 | openssl | 3.0.7-r0 |
| 3.24 | nodejs | 18.12.1-r0 |
| 3.24 | openssl | 3.0.7-r0 |
2 more rows
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs +7 | 1:18.12.1-1.amzn2023.0.2 |
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.4 |
| 2023 | npm | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 |
| 2023 | v8-devel | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.0.7-r0 | |
| openssl-provider-fips | 3.0.8-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.7-1 |
| 13 | openssl | 3.0.7-1 |
| 14 | openssl | 3.0.7-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.7-1 |
openSUSE 1 release · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python312-mitmproxy +1 | 11.1.2-1.1 | openSUSE-SU-2025:14762-1 |
| Tumbleweed | cargo-audit-advisory-db | 20221102-1.1 | openSUSE-SU-2024:12469-1 |
| Tumbleweed | libopenssl-3-devel +5 | 3.0.7-1.1 | openSUSE-SU-2024:12475-1 |
| Tumbleweed | python310-cryptography +2 | 38.0.3-1.1 | openSUSE-SU-2024:12479-1 |
| Tumbleweed | python310-cryptography-vectors +2 | 38.0.3-1.1 | openSUSE-SU-2024:12480-1 |
| Tumbleweed | python311-cryptography +2 | 44.0.0-1.1 | openSUSE-SU-2025:14739-1 |
2 more rows
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-43.el9_0 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.7-r0 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.7-1 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.7 |
| 24.04 | openssl | 3.0.5-2ubuntu2 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.0.7-r0 |
References
- packetstormsecurity.com http://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/15
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/16
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/17
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/18
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/19
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/20
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/21
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/01/24
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/1
Show all 70 references
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/10
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/11
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/12
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/13
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/14
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/15
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/7
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/02/9
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/10
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/11
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/7
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/03/9
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:7288
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-3602
- bugzilla.redhat.com https://bugzilla.redhat.com/2137723
- bugzilla.redhat.com https://bugzilla.redhat.com/2139104
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2137723
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2139104
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-408105.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3602
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3786
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-7288.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:7288
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=fe3b639dc19b325846f4f6801f2f4604f56e3de3
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fe3b639dc19b325846f4f6801f2f4604f56e3de3
- github.com https://github.com/alexcrichton/openssl-src-rs
- github.com https://github.com/alexcrichton/openssl-src-rs/commit/4a31c14f31e1a08c18893a37e304dd1dd4b7daa3
- github.com https://github.com/openssl/openssl/commit/fe3b639dc19b325846f4f6801f2f4604f56e3de3
- github.com https://github.com/rustsec/advisory-db/pull/1452
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-3602.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9968.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6S
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6S/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6S
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-3602
- psirt.global.sonicwall.com https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2022-0064.html
- security.gentoo.org https://security.gentoo.org/glsa/202211-01
- security.netapp.com https://security.netapp.com/advisory/ntap-20221102-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20221102-0001/
- tools.cisco.com https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2a
- ubuntu.com https://ubuntu.com/security/notices/USN-5710-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-3602
- www.intel.com https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00789.html
- www.kb.cert.org https://www.kb.cert.org/vuls/id/794340
- www.openssl.org https://www.openssl.org/blog/blog/2022/11/01/email-address-overflows/
- www.openssl.org https://www.openssl.org/news/secadv/20221101.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.