CVE-2022-4203
X.509 Name Constraints Read Buffer Overflow
Reported by openssl · Published February 24, 2023
openssl-src is fixed in 300.0.12 and 300.0.0 (crates.io)
A read 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. The read buffer overrun might result in a crash which could lead to a denial of service attack. In theory it could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext) although we are not aware of any working exploit leading to memory contents disclosure as of the time of release of this advisory. 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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl-src | crates.io | 300.0.12, 300.0.0 |
| openssl-libs | Amazon Linux | 1:3.0.5-1.amzn2023.0.6 |
| openssl-provider-fips | Chainguard | 3.0.8-r0 |
| openssl | conan.io | 3.0.8 |
| openssl-devel | Amazon Linux | 1:3.0.5-1.amzn2023.0.6 |
| openssl3 | Alpine | 3.0.8-r0 |
| openssl | Wolfi | 3.1.0-r0 |
| openssl | Amazon Linux | 1:3.0.5-1.amzn2023.0.6 |
| openssl-perl | Amazon Linux | 1:3.0.5-1.amzn2023.0.6 |
| openssl | Chainguard | 3.1.0-r0 |
| openssl | Alpine | 3.0.8-r0 |
| openssl | openssl | 3.0.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 |
| amazon:2023 | openssl-libs | 0 |
| chainguard | openssl-provider-fips | 0 |
| ConanCenter | openssl | 3.0.0 |
| wolfi | ruby-3.1 | * |
| amazon:2023 | openssl-devel | 0 |
| crates.io | openssl-src | 300.0.0 |
| chainguard | ruby-3.1 | * |
| alpine | openssl3 | 0 |
| OpenSSL | OpenSSL | 3.0.0 |
| wolfi | openssl | 0 |
| amazon:2023 | openssl | 0 |
| amazon:2023 | openssl-perl | 0 |
| chainguard | openssl | 0 |
| alpine | openssl | 0 |
Timeline
- Feb 7, 2023 CVE Published
- Feb 25, 2023 EPSS Score (30 in total, the first dated here)
- Mar 30, 2026 Security Advisory (33 in total, the first dated here)
- Jun 15, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (29 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-4203
vulnetix vdb fixes CVE-2022-4203
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-4203/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart