X.509 Name Constraints Read Buffer Overflow
Published Feb 24, 2023
9.1
CRITICALCVSS 3.1
EPSS 1.39%
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
-
- Version 3.0.0StatusaffectedConstraints<3.0.8
- Version
No data.
Red Hat Enterprise Linux 9
openssl-1:3.0.1-47.el9_1
Fixed · RHSA-2023:0946
Red Hat Enterprise Linux 9
openssl-1:3.0.1-47.el9_1
Fixed · RHSA-2023:0946
Red Hat Enterprise Linux 9.0 Extended Update Support
openssl-1:3.0.1-46.el9_0
Fixed · RHSA-2023:1199
Red Hat Enterprise Linux 6
openssl
Not affected
Red Hat Enterprise Linux 7
openssl
Not affected
Red Hat Enterprise Linux 7
ovmf
Not affected
Red Hat Enterprise Linux 8
compat-openssl10
Not affected
Red Hat Enterprise Linux 8
edk2
Not affected
Red Hat Enterprise Linux 8
openssl
Not affected
Red Hat Enterprise Linux 8
shim
Not affected
Red Hat Enterprise Linux 9
compat-openssl11
Not affected
Red Hat Enterprise Linux 9
edk2
Not affected
Red Hat Enterprise Linux 9
shim
Not affected
Red Hat JBoss Core Services
openssl
Not affected
Red Hat JBoss Web Server 3
openssl
Not affected
Red Hat JBoss Web Server 5
openssl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | openssl-1:3.0.1-47.el9_1 | Fixed | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9 | openssl-1:3.0.1-47.el9_1 | Fixed | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | openssl-1:3.0.1-46.el9_0 | Fixed | RHSA-2023:1199 |
| Red Hat Enterprise Linux 6 | openssl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | openssl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | ovmf | Not affected | n/a |
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | edk2 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | openssl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | shim | Not affected | n/a |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Not affected | n/a |
| Red Hat Enterprise Linux 9 | edk2 | Not affected | n/a |
| Red Hat Enterprise Linux 9 | shim | Not affected | n/a |
| Red Hat JBoss Core Services | openssl | Not affected | n/a |
| Red Hat JBoss Web Server 3 | openssl | Not affected | n/a |
| Red Hat JBoss Web Server 5 | openssl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 6, 7, and 8 ships OpenSSL 1.1.1 and 1.0.2 which do not contain the incorrect code, so those are not affected by this CVE. Similarly, the versions of `shim` as shipped with Red Hat Enterprise Linux 8 and 9 are not affected by this issue.
References (11)
- https://access.redhat.com/security/cve/CVE-2022-4203 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2164488 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0809 Advisory
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c927a3492698c254637da836762f9b1f86cffabc patchMailing List
- https://github.com/advisories/GHSA-w67w-mw4j-8qrv Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-4203
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://rustsec.org/advisories/RUSTSEC-2023-0008.html
- https://security.gentoo.org/glsa/202402-08
- https://www.cve.org/CVERecord?id=CVE-2022-4203
- https://www.openssl.org/news/secadv/20230207.txt vendor-advisoryVendor Advisory
Change history (0)
No recorded changes yet.