Vulnerability in OpenSSL
CVE-2023-0286
There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS: 0.712 (99.4th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.595 · newest: 0.712 · change: +0.117
Affected products
- OpenSSL — versions 3.0.0, 1.1.1, 1.0.2
- Stormshield Management Center
- Stormshield Network Security
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.openssl.org/news/secadv/20230207.txt (vendor-advisory, Vendor Advisory)
- git.openssl.org/gitweb/ (Patch, patch, Vendor Advisory)
- git.openssl.org/gitweb/ (Patch, patch, Vendor Advisory)
- git.openssl.org/gitweb/ (Patch, patch, Vendor Advisory)
- ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sig (Third Party Advisory)
- ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txt (Third Party Advisory)
- security.gentoo.org/glsa/202402-08
- af854a3a-2127-422b-91ae-364da2661108
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Frequently asked questions
- What is CVE-2023-0286?
- CVE-2023-0286 is a high-severity vulnerability in OpenSSL, classified under Access of Resource Using Incompatible Type (Type Confusion). CVSS score: 7.4/10. Published 2023-02-08.
- How severe is CVE-2023-0286?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2023-0286 known to be exploited?
- 24 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.