CVE-2023-0286
X.400 address type confusion in X.509 GeneralName
Reported by openssl · Published February 8, 2023
openssl-src is fixed in 300.0.12, 300.0, 111.25.0 and 1 more (crates.io)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl-src | crates.io | 300.0.12, 300.0, 111.25.0, 111.25 |
| cryptography | PyPI | 39.0.1 |
| openssl-perl | Amazon Linux | 1:3.0.5-1.amzn2023.0.6, 1:1.0.2k-24.amzn2.0.6 |
| openssl | conan.io | 3.0.8, 1.1.1t, 1.0.2zg |
| openssl-provider-fips | Chainguard | 3.0.8-r0 |
| openssl11-libs | Amazon Linux | 1:1.1.1g-12.amzn2.0.11 |
| edk2-tools-python | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| edk2-tools | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| mitmproxy | Chainguard | 12.2.1-r0 |
| openssl11-devel | Amazon Linux | 1:1.1.1g-12.amzn2.0.11 |
| openssl | Wolfi | 3.1.0-r0 |
| openssl-devel | Amazon Linux | 1:3.0.5-1.amzn2023.0.6, 1:1.0.2k-24.amzn2.0.6 |
24 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.0.0, 1.1.1, 1.0.2 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| OpenSSL | OpenSSL | 3.0.0, 1.0.2, 1.1.1 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Siemens | SCALANCE W1750D (USA) | 0 |
| Siemens | BFCClient | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | RUGGEDCOM APE1808 | 0 |
| Siemens | SCALANCE W1750D (ROW) | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE W1750D (JP) | 0 |
Timeline
- Feb 7, 2023 CVE Published
- Feb 9, 2023 EPSS Score (30 in total, the first dated here)
- Feb 9, 2023 PoC Published (18 in total, the first dated here)
- Mar 9, 2026 Security Advisory (39 in total, the first dated here)
- May 22, 2026 Coalition ESS Score
- Jul 23, 2026 Distribution Patch (32 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-0286
vulnetix vdb fixes CVE-2023-0286
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-0286/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- OpenSSL Advisory vendor-advisory
- 3.0.8 git commit patch
- 1.1.1t git commit patch
- 1.0.2zg patch (premium) patch
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003 url
- https://cert-portal.siemens.com/productcert/html/ssa-203374.html url
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html url
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html url
- https://cert-portal.siemens.com/productcert/html/ssa-264815.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html url
- https://cert-portal.siemens.com/productcert/html/ssa-455250.html url
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html url
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html url
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html url
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html url
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html url
…and 1 more