CVE-2022-4203
openssl: read buffer overflow in X.509 certificate verification
Overview
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.
Source: OX vulnerability database
Severity
4.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-125
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | >=300.0.0, <300.0.12 | 300.0.12 |
| Conan (C/C++) | openssl | >=3.0.0 <3.0.8 | 3.0.12 |
Open a package to see all its vulnerabilities.
Operating systems · 34 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-47.0.1.el9_1 |
| 9 | openssl +3 | 2:3.0.1-47.0.1.ksplice1.el9_1 |
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.16.0-1.ph4 |
| 4.0 | openssl +4 | 3.0.7-4.ph4 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | openssl +3 | 1:3.0.1-46.el9_0 | RHSA-2023:1199 |
| 9 | openssl +3 | 1:3.0.1-47.el9_1 | RHSA-2023:0946 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.17.1 | SUSE-SU-2023:0312-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.8-r0 |
| 3.23 | openssl | 3.0.8-r0 |
| 3.24 | openssl | 3.0.8-r0 |
| edge | openssl | 3.0.8-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.6 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl-provider-fips | 3.0.8-r0 | |
| openssl | 3.1.0-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.8-1 |
| 13 | openssl | 3.0.8-1 |
| 14 | openssl | 3.0.8-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.8-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +7 | 3.0.8-1.1 | openSUSE-SU-2024:12716-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
root.io alpine 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.8-r0 |
| 3.24 | rootio-openssl | 3.0.8-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.8-1 |
| 13 | rootio-openssl | 3.0.8-1 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.8 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.1.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:0946
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-4203
- bugzilla.redhat.com https://bugzilla.redhat.com/2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/2164487
- bugzilla.redhat.com https://bugzilla.redhat.com/2164488
- bugzilla.redhat.com https://bugzilla.redhat.com/2164492
- bugzilla.redhat.com https://bugzilla.redhat.com/2164494
- bugzilla.redhat.com https://bugzilla.redhat.com/2164497
- bugzilla.redhat.com https://bugzilla.redhat.com/2164499
- bugzilla.redhat.com https://bugzilla.redhat.com/2164500
Show all 50 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144000
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144003
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144006
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144008
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144010
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144012
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144015
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144017
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2144019
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2145170
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2158412
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164487
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164488
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164492
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164494
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164497
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164499
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164500
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4203
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4304
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4450
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0215
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0216
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0217
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0286
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0401
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-0946.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:0946
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c927a3492698c254637da836762f9b1f86cffabc
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-4203.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-12152.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-4203
- psirt.global.sonicwall.com https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2023-0008.html
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- ubuntu.com https://ubuntu.com/security/notices/USN-5844-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-4203
- www.openssl.org https://www.openssl.org/news/secadv/20230207.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.