CVE-2022-4203X.509 Name Constraints Read Buffer Overflow
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.8 | UBUNTU-CVE-2022-4203 |
| Ubuntu 16.04 | edk2 | Fix pending | ||
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | ||
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Debian 14 | openssl | Fixed | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Debian 13 | openssl | Fixed | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Debian 12 | openssl | Fixed | 3.0.8-1 | DEBIAN-CVE-2022-4203 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.1-47.el9_1 | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.1-47.el9_1 | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.1-47.el9_1 | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.1-47.el9_1 | RHSA-2023:0946 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | ovmf | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| AlmaLinux 9 | openssl | Fixed | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| Rocky Linux 9 | openssl | Fixed | 1:3.0.1-47.el9_1 | RLSA-2023:0946 |
| Alpine Linux 3.24 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.23 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.22 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.21 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.20 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.19 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.18 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.8-r0 | ALPINE-CVE-2022-4203 |
| crates.io library | openssl-src | Fixed | 300.0.12 | RUSTSEC-2023-0008 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.0.0 to before 3.0.8; fixed in
3.0.8
Vendor advisories:
- https://www.openssl.org/news/secadv/20230207.txt (vendor-advisory)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c927a3492698c254637da836762f… (patch)
References
- https://www.openssl.org/news/secadv/20230207.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c927a3492698c254637da836762f9b1f86cffabc
- https://security.gentoo.org/glsa/202402-08
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.