VDB

CVE-2022-3602

CVE-2022-3602 PUBLISHED CVSS 9.300000190734863 CRITICAL

X.509 Email Address 4-byte Buffer Overflow

Reported by openssl · Published November 1, 2022

openssl-src is fixed in 300.0.11 and 300.0.0 (crates.io)

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).

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openssl-srccrates.io300.0.11, 300.0.0
openssl-libsAmazon Linux1:3.0.5-1.amzn2023.0.4
openssl-provider-fipsChainguard3.0.8-r0
nodejs-full-i18nAmazon Linux1:18.12.1-1.amzn2023.0.2
v8-develAmazon Linux2:10.2.154.15-1.18.12.1.1.amzn2023.0.2
openssl3Alpine3.0.7-r0
opensslWolfi3.0.7-r0
openssl-perlAmazon Linux1:3.0.5-1.amzn2023.0.4
McenterSiemens5.3.0
node.jsnodejs18.11.0
opensslopenssl3.0.7
SIMATIC RTLS Locating ManagerSiemens2.13.0.3

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
OpenSSLOpenSSLFixed 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)
SiemensMcenter5.2.1
amazon:2023openssl-libs0
chainguardopenssl-provider-fips0
amazon:2023nodejs-full-i18n0
amazon:2023v8-devel0
alpineopenssl30
wolfiruby-3.1*
SiemensSIMATIC RTLS Locating Manager2.13.0.0
SiemensSCALANCE X204RNA EEC (HSR)3.2.7
SiemensSCALANCE X204RNA EEC (PRP)3.2.7
SiemensSCALANCE X204RNA (PRP)3.2.7
wolfiopenssl0
amazon:2023openssl-perl0
SiemensSICAM GridPass1.80
OpenSSLOpenSSL3.0.7
SiemensSCALANCE X204RNA (HSR)3.2.7
amazon:2023nodejs-libs0
amazon:2023nodejs0
amazon:2023npm0

…and 12 more

Timeline

  • Nov 1, 2022 CVE Published
  • Nov 1, 2022 PoC Published (6 in total, the first dated here)
  • Nov 2, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (9 in total, the first dated here)
  • Jun 20, 2026 Coalition ESS Score
  • Nov 14, 2026 Distribution Patch (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-3602
vulnetix vdb fixes CVE-2022-3602

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3602/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 36 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›