CVE-2023-0286
openssl: X.400 address type confusion in X.509 GeneralName
Overview
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.
Source: OX vulnerability database
Severity
7.4 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness: CWE-843
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | <111.25.0>=300.0.0, <300.0.12 | 111.25.0300.0.12 |
| Conan (C/C++) | openssl | >=1.0.2 <1.0.2zg||>=1.1.1 <1.1.1t||>=3.0.0 <3.0.8 | 1.1.1w3.0.12 |
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | OpenSSL_jll | <1.1.20+0 | 1.1.20+0 |
| PyPI | cryptography | >=0.8.1, <39.0.1 | 39.0.1 |
Open a package to see all its vulnerabilities.
Operating systems · 128 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | hvloader | 0:1.0.1-4.azl3 |
Oracle Linux 3 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +4 | 10:1.0.2k-26.el7_9_fips |
| 7 | openssl +4 | 1:1.0.2k-26.el7_9 |
| 7 | aavmf +1 | 1:1.6.6-1.el7 |
| 7 | openssl +4 | 2:1.0.2k-26.ksplice1.el7_9 |
| 8 | compat-openssl10 | 1:1.0.2o-4.el8_10.1 |
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
7 more rows
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.16.0-1.ph4 |
| 4.0 | openssl +4 | 3.0.7-4.ph4 |
Red Hat 3 releases · 13 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +1 | wont fix | — |
| 7 | jws5-tomcat-native | 0:1.2.31-14.redhat_14.el7jws | RHSA-2023:3420 |
| 7 | jbcs-httpd24-apr-util +8 | 0:1.6.1-101.el7jbcs | RHSA-2023:3354 |
| 7 | jbcs-httpd24-httpd +6 | 0:2.4.51-39.el7jbcs | RHSA-2023:3354 |
| 7 | jbcs-httpd24-curl +2 | 0:8.0.1-1.el7jbcs | RHSA-2023:3354 |
| 7 | openssl +4 | 1:1.0.2k-21.el7_7.1 | RHSA-2024:5136 |
27 more rows
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.64.1 | SUSE-SU-2023:0306-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.75.1 | SUSE-SU-2023:0309-1 |
| 15.4 | openssl-1-1-livepatches | 0.1-150400.3.3.1 | SUSE-SU-2023:0482-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.65.1 | SUSE-SU-2023:0305-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.17.1 | SUSE-SU-2023:0312-1 |
SUSE Linux Enterprise Micro 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
alma 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | compat-openssl10 | 1:1.0.2o-4.el8_10.1 |
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
| 8 | edk2-aarch64 +1 | 20220126gitbb1bba3d77-4.el8 |
| 9 | compat-openssl11 | 1:1.1.1k-5.el9_6.1 |
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
| 9 | edk2-aarch64 +3 | 20221207gitfff6d81270b5-9.el9_2 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.8-r0 |
| 3.23 | openssl | 3.0.8-r0 |
| 3.24 | openssl | 3.0.8-r0 |
| edge | openssl | 3.0.8-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.6 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| mitmproxy | 12.2.1-r0 | |
| openssl-provider-fips | 3.0.8-r0 | |
| openssl | 3.1.0-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1n-0+deb10u4 |
| 11 | openssl | 1.1.1n-0+deb11u4 |
| 12 | openssl | 3.0.8-1 |
| 13 | openssl | 3.0.8-1 |
| 14 | openssl | 3.0.8-1 |
echo 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-0-1g | 1.0.1g+e1 | |
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.8-1 |
openSUSE 1 release · 16 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-0-0-devel +11 | 1.0.2u-12.1 | openSUSE-SU-2024:12687-1 |
| Tumbleweed | libopenssl-1-1-devel +7 | 1.1.1t-1.1 | openSUSE-SU-2024:12688-1 |
| Tumbleweed | ruby3-1-rubygem-grpc +1 | 1.52.0-1.1 | openSUSE-SU-2024:12794-1 |
| Tumbleweed | ruby3-3-rubygem-grpc | 1.63.0-1.1 | openSUSE-SU-2024:13956-1 |
| Tumbleweed | ruby3-4-rubygem-grpc | 1.70.1-1.1 | openSUSE-SU-2025:14821-1 |
| Tumbleweed | ruby4-0-rubygem-grpc | 1.70.1-1.7 | openSUSE-SU-2026:10348-1 |
10 more rows
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
rocky 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | compat-openssl10 | 1:1.0.2o-4.el8_10.1 |
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
| 9 | compat-openssl11 | 1:1.1.1k-5.el9_6.1 |
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.8-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1n-0+deb11u4 |
| 12 | rootio-openssl | 3.0.8-1 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 7 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | openssl1-0 | 1.0.2n-1ubuntu5.11 |
| 18.04 | openssl | 1.1.1-1ubuntu2.1~18.04.21 |
| 18.04-ESM | edk2 | affected |
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.11 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.21 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.17 |
7 more rows
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| mitmproxy | 12.2.1-r0 | |
| openssl | 3.1.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:7937
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-0286
- access.redhat.com https://access.redhat.com/security/cve/cve-2023-0286
- bugzilla.redhat.com https://bugzilla.redhat.com/2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164487
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164492
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164494
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-028723.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-203374.html
Show all 48 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-264815.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-455250.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4304
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4450
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0215
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0286
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-7937.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:1405
- ftp.openbsd.org https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txt
- ftp.openbsd.org https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sig
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2c6c9d439b484e1ba9830d8454a34fa4f80fdfe9
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2f7530077e0ef79d98718138716bc51ca0cad658
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fd2af07dc083a350c959147097003a14a5e8ac4d
- github.com https://github.com/advisories/GHSA-x4qr-2fvf-3mr5
- github.com https://github.com/pyca/cryptography
- github.com https://github.com/pyca/cryptography/security/advisories/GHSA-x4qr-2fvf-3mr5
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-0286.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-7937.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-0286
- psirt.global.sonicwall.com https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2023-0006.html
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- ubuntu.com https://ubuntu.com/security/notices/USN-5844-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5845-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5845-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6564-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-0286
- www.openssl.org https://www.openssl.org/news/secadv/20230207.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.