Vulnerability · Published Feb 24, 2023 · Assigned by openssl
CVE-2022-4203X.509 Name Constraints Read Buffer Overflow
Medium 4.9
In plain English
A medium-severity out-of-bounds read in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openssl | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-devel | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-libs | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux:9 | openssl-perl | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| Alpine:v3.20 | openssl | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine:v3.21 | openssl | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine:v3.22 | openssl | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine:v3.23 | openssl | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine:v3.24 | openssl | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Debian:12 | openssl | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Debian:13 | openssl | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Debian:14 | openssl | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Rocky Linux:9 | openssl | 1:3.0.1-47.el9_1 | RLSA-2023:0946 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.8 | UBUNTU-CVE-2022-4203 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.8 | USN-5844-1 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H