VDB

CVE-2023-0286

CVE-2023-0286 PUBLISHED CVSS 7.4 HIGH

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.

PackageEcosystemFixed in
openssl-srccrates.io300.0.12, 300.0, 111.25.0, 111.25
cryptographyPyPI39.0.1
openssl-perlAmazon Linux1:3.0.5-1.amzn2023.0.6, 1:1.0.2k-24.amzn2.0.6
opensslconan.io3.0.8, 1.1.1t, 1.0.2zg
openssl-provider-fipsChainguard3.0.8-r0
openssl11-libsAmazon Linux1:1.1.1g-12.amzn2.0.11
edk2-tools-pythonAmazon Linux20200801stable-1.amzn2.0.5
edk2-toolsAmazon Linux20200801stable-1.amzn2.0.5
mitmproxyChainguard12.2.1-r0
openssl11-develAmazon Linux1:1.1.1g-12.amzn2.0.11
opensslWolfi3.1.0-r0
openssl-develAmazon Linux1: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

CVSS 3.1
7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
OpenSSLOpenSSL3.0.0, 1.1.1, 1.0.2
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
OpenSSLOpenSSL3.0.0, 1.0.2, 1.1.1
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSCALANCE W1750D (USA)0
SiemensBFCClient0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensRUGGEDCOM APE18080
SiemensSCALANCE W1750D (ROW)0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›