Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openssl
  4. ›
  5. CVE-2023-0286

CVE-2023-0286: Access of Resource Using Incompatible Type ('Type Confusion')

February 8, 2023 (updated February 4, 2024)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2023-0286
  • www.openssl.org/news/secadv/20230207.txt

Code Behaviors & Features

Detect and mitigate CVE-2023-0286 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.2 before 1.0.2zg, all versions starting from 1.1.1 before 1.1.1t, all versions starting from 3.0.0 before 3.0.8

Fixed versions

  • 1.1.1w
  • 3.0.12

Solution

Upgrade to versions 1.1.1w, 3.0.12 or above.

Impact 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

conan/openssl/CVE-2023-0286.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.