Skip to content

CVE-2023-0286 X.400 address type confusion in X.509 GeneralName

HighCVSS 7.4 EPSS 68.4%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi cryptography(PyPI) >= 0.8.1, < 39.0.1 39.0.1
pypi cryptography(PyPI) = 0.8.1 No fix listed
pypi cryptography(PyPI) = 0.8.2 No fix listed
pypi cryptography(PyPI) = 0.9 No fix listed
pypi cryptography(PyPI) = 0.9.1 No fix listed
pypi cryptography(PyPI) = 0.9.2 No fix listed
pypi cryptography(PyPI) = 0.9.3 No fix listed
pypi cryptography(PyPI) = 1.0 No fix listed
pypi cryptography(PyPI) = 1.0.1 No fix listed
pypi cryptography(PyPI) = 1.0.2 No fix listed
pypi cryptography(PyPI) = 1.1 No fix listed
pypi cryptography(PyPI) = 1.1.1 No fix listed
pypi cryptography(PyPI) = 1.1.2 No fix listed
pypi cryptography(PyPI) = 1.2 No fix listed
pypi cryptography(PyPI) = 1.2.1 No fix listed
pypi cryptography(PyPI) = 1.2.2 No fix listed
pypi cryptography(PyPI) = 1.2.3 No fix listed
pypi cryptography(PyPI) = 1.3 No fix listed
pypi cryptography(PyPI) = 1.3.1 No fix listed
pypi cryptography(PyPI) = 1.3.2 No fix listed
pypi cryptography(PyPI) = 1.3.3 No fix listed
pypi cryptography(PyPI) = 1.3.4 No fix listed
pypi cryptography(PyPI) = 1.4 No fix listed
pypi cryptography(PyPI) = 1.5 No fix listed
pypi cryptography(PyPI) = 1.5.1 No fix listed
Show 109 more
ProductAffected versionsFixed in
pypi cryptography(PyPI) = 1.5.2 No fix listed
pypi cryptography(PyPI) = 1.5.3 No fix listed
pypi cryptography(PyPI) = 1.6 No fix listed
pypi cryptography(PyPI) = 1.7 No fix listed
pypi cryptography(PyPI) = 1.7.1 No fix listed
pypi cryptography(PyPI) = 1.7.2 No fix listed
pypi cryptography(PyPI) = 1.8 No fix listed
pypi cryptography(PyPI) = 1.8.1 No fix listed
pypi cryptography(PyPI) = 1.8.2 No fix listed
pypi cryptography(PyPI) = 1.9 No fix listed
pypi cryptography(PyPI) = 2.0 No fix listed
pypi cryptography(PyPI) = 2.0.1 No fix listed
pypi cryptography(PyPI) = 2.0.2 No fix listed
pypi cryptography(PyPI) = 2.0.3 No fix listed
pypi cryptography(PyPI) = 2.1 No fix listed
pypi cryptography(PyPI) = 2.1.1 No fix listed
pypi cryptography(PyPI) = 2.1.2 No fix listed
pypi cryptography(PyPI) = 2.1.3 No fix listed
pypi cryptography(PyPI) = 2.1.4 No fix listed
pypi cryptography(PyPI) = 2.2 No fix listed
pypi cryptography(PyPI) = 2.2.1 No fix listed
pypi cryptography(PyPI) = 2.2.2 No fix listed
pypi cryptography(PyPI) = 2.3 No fix listed
pypi cryptography(PyPI) = 2.3.1 No fix listed
pypi cryptography(PyPI) = 2.4 No fix listed
pypi cryptography(PyPI) = 2.4.1 No fix listed
pypi cryptography(PyPI) = 2.4.2 No fix listed
pypi cryptography(PyPI) = 2.5 No fix listed
pypi cryptography(PyPI) = 2.6 No fix listed
pypi cryptography(PyPI) = 2.6.1 No fix listed
pypi cryptography(PyPI) = 2.7 No fix listed
pypi cryptography(PyPI) = 2.8 No fix listed
pypi cryptography(PyPI) = 2.9 No fix listed
pypi cryptography(PyPI) = 2.9.1 No fix listed
pypi cryptography(PyPI) = 2.9.2 No fix listed
pypi cryptography(PyPI) = 3.0 No fix listed
pypi cryptography(PyPI) = 3.1 No fix listed
pypi cryptography(PyPI) = 3.1.1 No fix listed
pypi cryptography(PyPI) = 3.2 No fix listed
pypi cryptography(PyPI) = 3.2.1 No fix listed
pypi cryptography(PyPI) = 3.3 No fix listed
pypi cryptography(PyPI) = 3.3.1 No fix listed
pypi cryptography(PyPI) = 3.3.2 No fix listed
pypi cryptography(PyPI) = 3.4 No fix listed
pypi cryptography(PyPI) = 3.4.1 No fix listed
pypi cryptography(PyPI) = 3.4.2 No fix listed
pypi cryptography(PyPI) = 3.4.3 No fix listed
pypi cryptography(PyPI) = 3.4.4 No fix listed
pypi cryptography(PyPI) = 3.4.5 No fix listed
pypi cryptography(PyPI) = 3.4.6 No fix listed
pypi cryptography(PyPI) = 3.4.7 No fix listed
pypi cryptography(PyPI) = 3.4.8 No fix listed
pypi cryptography(PyPI) = 35.0.0 No fix listed
pypi cryptography(PyPI) = 36.0.0 No fix listed
pypi cryptography(PyPI) = 36.0.1 No fix listed
pypi cryptography(PyPI) = 36.0.2 No fix listed
pypi cryptography(PyPI) = 37.0.0 No fix listed
pypi cryptography(PyPI) = 37.0.1 No fix listed
pypi cryptography(PyPI) = 37.0.2 No fix listed
pypi cryptography(PyPI) = 37.0.3 No fix listed
pypi cryptography(PyPI) = 37.0.4 No fix listed
pypi cryptography(PyPI) = 38.0.0 No fix listed
pypi cryptography(PyPI) = 38.0.1 No fix listed
pypi cryptography(PyPI) = 38.0.2 No fix listed
pypi cryptography(PyPI) = 38.0.3 No fix listed
pypi cryptography(PyPI) = 38.0.4 No fix listed
pypi cryptography(PyPI) = 39.0.0 No fix listed
crates.io openssl-src(crates.io) < 111.25.0 111.25.0
crates.io openssl-src(crates.io) >= 300.0.0, < 300.0.12 300.0.12
crates.io openssl-src(crates.io) >= 0.0.0-0, < 111.25.0 111.25.0
debian/openssl(Debian:12) < 3.0.8-1 3.0.8-1
debian/openssl(Debian:13) < 3.0.8-1 3.0.8-1
debian/openssl(Debian:14) < 3.0.8-1 3.0.8-1
OpenSSL >= 3.0.0, < 3.0.8 3.0.8
OpenSSL >= 1.1.1, < 1.1.1t 1.1.1t
OpenSSL >= 1.0.2, < 1.0.2zg 1.0.2zg
Siemens BFCClient < V2.17 V2.17
Siemens RUGGEDCOM APE1808 All versions No fix listed
Siemens SCALANCE W1750D (JP) < V8.10.0.9 V8.10.0.9
Siemens SCALANCE W1750D (ROW) < V8.10.0.9 V8.10.0.9
Siemens SCALANCE W1750D (USA) < V8.10.0.9 V8.10.0.9
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1 V1.1
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
ubuntu/edk2(Ubuntu:22.04) < 2022.02-3ubuntu0.22.04.4 2022.02-3ubuntu0.22.04.4
ubuntu/nodejs(Ubuntu:22.04) < 12.22.9~dfsg-1ubuntu3.3 12.22.9~dfsg-1ubuntu3.3
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.8 3.0.2-0ubuntu1.8
stormshield management center < 3.3.3 3.3.3
Stormshield Network Security >= 2.7.0, < 2.7.11 2.7.11
Stormshield Network Security >= 2.8.0, < 3.7.34 3.7.34
Stormshield Network Security >= 3.8.0, < 3.11.22 3.11.22
Stormshield Network Security >= 4.0.0, < 4.3.16 4.3.16
Stormshield Network Security >= 4.4.0, < 4.6.3 4.6.3
alpine/openssl(Alpine:v3.14) >= 1.1.1, < 1.1.1t-r0 1.1.1t-r0
alpine/openssl(Alpine:v3.15) >= 1.1.1, < 1.1.1t-r0 1.1.1t-r0
alpine/openssl(Alpine:v3.16) >= 1.1.1, < 1.1.1t-r0 1.1.1t-r0
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.18) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.19) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.20) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.21) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.22) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.23) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl(Alpine:v3.24) >= 3.0.0, < 3.0.8-r0 3.0.8-r0
alpine/openssl1.1-compat(Alpine:v3.17) < 1.1.1t-r0 1.1.1t-r0
alpine/openssl1.1-compat(Alpine:v3.18) < 1.1.1t-r0 1.1.1t-r0
alpine/openssl3(Alpine:v3.15) < 3.0.8-r0 3.0.8-r0
alpine/openssl3(Alpine:v3.16) < 3.0.8-r0 3.0.8-r0

References