CVE-2022-3602: OpenSSL - Buffer Overflow
- Cve: CVE-2022-3602
- Name: OpenSSL - Buffer Overflow
- 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).
- Impact: Attackers can cause a crash or remote code execution through crafted certificates, leading to denial of service or full system compromise.
- Remediation: Upgrade to OpenSSL 3.0.7 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.9077
- Epss percentile: 0.99808
- Assignee: [email protected]
- Published at: 2022-11-01T18:15:10Z
- Age in days: 1484
- Modified at: 2026-06-17T04:59:49Z
- Patch available: yes
- Public exploits total: 8
- References total: 26
- Products total: 4
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-3602
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
Same in every row:
- Source: poc-in-github
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.openssl.org/news/secadv/20221101.txt | Vendor Advisory |
| http://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.html | Third Party Advisory, VDB Entry |
| http://www.openwall.com/lists/oss-security/2022/11/01/15 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/16 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/17 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/18 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/19 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/20 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/21 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/11/01/24 | Mailing List, Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| openssl:openssl | >= 3.0.0, < 3.0.7 | /v1/products/openssl/openssl |
| fedoraproject:fedora | = 37, = 36, = 27, = 26 | /v1/products/fedoraproject/fedora |
| nodejs:node.js | = 19.0.0; = 18.12.0; >= 18.0.0, < 18.11.0 | /v1/products/nodejs/node.js |
| netapp:clustered_data_ontap | all versions | /v1/products/netapp/clustered_data_ontap |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| openssl/openssl | commit, fix | /v1/repositories/openssl/openssl |
| rustsec/advisory-db | pull | /v1/repositories/rustsec/advisory-db |
| alexcrichton/openssl-src-rs | commit, package | /v1/repositories/alexcrichton/openssl-src-rs |
Index
- Repositories: 24
- Repositories high signal: 14
- Checked, none or zero: packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 8
- Public exploit first date: 2022-10-28
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 3533194
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since