CVE-2022-4203 X.509 Name Constraints Read Buffer Overflow
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io openssl-src(crates.io) | >= 300.0.0, < 300.0.12 | 300.0.12 |
| OpenSSL | >= 3.0.0, < 3.0.8 | 3.0.8 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.8 | 3.0.2-0ubuntu1.8 |
| debian/openssl(Debian:12) | < 3.0.8-1 | 3.0.8-1 |
| debian/openssl(Debian:14) | < 3.0.8-1 | 3.0.8-1 |
| debian/openssl(Debian:13) | < 3.0.8-1 | 3.0.8-1 |
| ubuntu/openssl(Ubuntu:22.04) | = 1.1.1l-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.0-1ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.1-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.1 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.2 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.4 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.5 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.6 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | = 3.0.2-0ubuntu1.7 | No fix listed |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.18) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.19) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl3(Alpine:v3.15) | < 3.0.8-r0 | 3.0.8-r0 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/openssl3(Alpine:v3.16) | < 3.0.8-r0 | 3.0.8-r0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- 3.0.8 git commit mailing-list patch
- psirt.global.sonicwall.com
- rustsec.org vendor-advisory
- security.gentoo.org
- OpenSSL Advisory issue-tracking vendor-advisory
- crates.io product
- Debian Security Tracker CVE-2022-4203 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5844-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory