CVE-2023-0286
X.400 address type confusion in X.509 GeneralName
- Published
- Updated
- Reserved
- Assigned by
- openssl
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 69.3% · top 0.6% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.4.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIcryptographyGHSA-x4qr-2fvf-3mr5 (opens in a new tab)
- crates.ioopenssl-srcGHSA-x4qr-2fvf-3mr5 (opens in a new tab)
References (21)
- OpenSSL Advisory (opens in a new tab)vendor-advisoryx_transferred
- 3.0.8 git commit (opens in a new tab)patchx_transferred
- 1.1.1t git commit (opens in a new tab)patchx_transferred
- 1.0.2zg patch (premium) (opens in a new tab)patchx_transferred
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sig (opens in a new tab)x_transferred
- https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txt (opens in a new tab)x_transferred
- https://security.gentoo.org/glsa/202402-08 (opens in a new tab)x_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-203374.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-264815.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-455250.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-028723.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x4qr-2fvf-3mr5 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-0286)Record last updated .