Vulnerability CVE-2023-0286: Information

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.

Severity: HIGH (7.4) Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Published: Feb. 8, 2023
Modified: Feb. 4, 2024
Error type identifier: CWE-843

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
LibreSSLsisyphus3.6.2-alt13.7.3-alt1ALT-PU-2023-1221-1314973Fixed
LibreSSLsisyphus_e2k3.6.2-alt13.7.3-alt1.1ALT-PU-2023-2508-1-Fixed
LibreSSLsisyphus_riscv643.6.2-alt13.7.3-alt1ALT-PU-2023-2517-1-Fixed
LibreSSLp103.7.3-alt13.7.3-alt1ALT-PU-2023-4398-3324742Fixed
LibreSSLp10_e2k3.7.3-alt1.13.7.3-alt1.1ALT-PU-2023-6865-1-Fixed
LibreSSLc10f13.7.3-alt13.7.3-alt1ALT-PU-2023-5593-3329442Fixed
openssl1.1sisyphus1.1.1t-alt11.1.1w-alt1ALT-PU-2023-1195-1314824Fixed
openssl1.1sisyphus_e2k1.1.1t-alt11.1.1w-alt1ALT-PU-2023-2502-1-Fixed
openssl1.1sisyphus_riscv641.1.1t-alt11.1.1w-alt1ALT-PU-2023-2484-1-Fixed
openssl1.1p101.1.1t-alt11.1.1w-alt0.p10.1ALT-PU-2023-1228-1314825Fixed
openssl1.1p10_e2k1.1.1t-alt11.1.1w-alt0.p10.1ALT-PU-2023-2543-1-Fixed
openssl1.1p91.1.1t-alt11.1.1u-alt1ALT-PU-2023-1299-1314826Fixed
openssl1.1p9_e2k1.1.1t-alt11.1.1u-alt1ALT-PU-2023-2672-1-Fixed
openssl1.1c10f11.1.1t-alt11.1.1w-alt0.p10.1ALT-PU-2023-1228-1314825Fixed
openssl1.1c9f21.1.1t-alt11.1.1w-alt0.p9.1ALT-PU-2023-1360-1314827Fixed
python3p103.9.18-alt13.9.18-alt1ALT-PU-2024-2511-3340781Fixed
python3p10_e2k3.9.18-alt13.9.18-alt1ALT-PU-2024-3765-1-Fixed
python3c10f13.9.18-alt0.c10f1.13.9.18-alt0.c10f1.1ALT-PU-2024-6382-3344932Fixed
sssdsisyphus2.9.2-alt12.9.4-alt2ALT-PU-2023-6187-2331148Fixed
sssdsisyphus_e2k2.9.2-alt12.9.4-alt2ALT-PU-2023-6458-1-Fixed
sssdsisyphus_riscv642.9.2-alt12.9.4-alt2ALT-PU-2023-6522-1-Fixed
sssdp102.9.2-alt12.9.4-alt1ALT-PU-2023-6515-5332201Fixed
sssdp10_e2k2.9.2-alt12.9.4-alt1ALT-PU-2023-7913-1-Fixed
sssdc10f12.9.4-alt12.8.1-alt1ALT-PU-2024-7793-2348103Testing

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      3.0.0
      End excliding
      3.0.8

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      1.1.1
      End excliding
      1.1.1t

      cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
      Start including
      1.0.2
      End excliding
      1.0.2zg

      Configuration 2

      cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
      Start including
      4.4.0
      End excliding
      4.6.3

      cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
      Start including
      4.0.0
      End excliding
      4.3.16

      cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
      Start including
      3.8.0
      End excliding
      3.11.22

      cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
      Start including
      2.8.0
      End excliding
      3.7.34

      cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
      Start including
      2.7.0
      End excliding
      2.7.11

      cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:*
      End excliding
      3.3.3