CVE-2020-1971

The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This function behaves incorrectly when both GENERAL_NAMEs contain an EDIPARTYNAME. A NULL pointer dereference and a crash may occur leading to a possible denial of service attack. OpenSSL itself uses the GENERAL_NAME_cmp function for two purposes: 1) Comparing CRL distribution point names between an available CRL and a CRL distribution point embedded in an X509 certificate 2) When verifying that a timestamp response token signer matches the timestamp authority name (exposed via the API functions TS_RESP_verify_response and TS_RESP_verify_token) If an attacker can control both items being compared then that attacker could trigger a crash. For example if the attacker can trick a client or server into checking a malicious certificate against a malicious CRL then this may occur. Note that some applications automatically download CRLs based on a URL embedded in a certificate. This checking happens prior to the signatures on the certificate and CRL being verified. OpenSSL's s_server, s_client and verify tools have support for the "-crl_download" option which implements automatic CRL downloading and this attack has been demonstrated to work against those tools. Note that an unrelated bug means that affected versions of OpenSSL cannot parse or construct correct encodings of EDIPARTYNAME. However it is possible to construct a malformed EDIPARTYNAME that OpenSSL's parser will accept and hence trigger this attack. All OpenSSL 1.1.1 and 1.0.2 versions are affected by this issue. Other OpenSSL releases are out of support and have not been checked. Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h). Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w).
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
opensslCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 49%
VendorProductVersion
opensslopenssl
1.0.2 ≤
𝑥
< 1.0.2x
opensslopenssl
1.1.1 ≤
𝑥
< 1.1.1i
debiandebian_linux
9.0
debiandebian_linux
10.0
oracleapi_gateway
11.1.2.4.0
oraclebusiness_intelligence
5.5.0.0.0
oraclebusiness_intelligence
5.9.0.0.0
oraclebusiness_intelligence
12.2.1.3.0
oraclebusiness_intelligence
12.2.1.4.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment
1.10.0
oraclecommunications_diameter_intelligence_hub
8.0.0 ≤
𝑥
≤ 8.1.0
oraclecommunications_diameter_intelligence_hub
8.2.0 ≤
𝑥
≤ 8.2.3
oracleenterprise_manager_base_platform
13.3.0.0
oracleenterprise_manager_base_platform
13.4.0.0
oracleenterprise_manager_for_storage_management
13.4.0.0
oracleenterprise_manager_ops_center
12.4.0.0
oracleessbase
21.2
oraclegraalvm
19.3.4
oraclegraalvm
20.3.0
oraclehttp_server
12.2.1.4.0
oraclejd_edwards_enterpriseone_tools
𝑥
< 9.2.5.3
oraclemysql
𝑥
≤ 8.0.22
oraclemysql_server
𝑥
≤ 5.7.32
oraclemysql_server
8.0.15 ≤
𝑥
≤ 8.0.22
oraclepeoplesoft_enterprise_peopletools
8.56
oraclepeoplesoft_enterprise_peopletools
8.57
oraclepeoplesoft_enterprise_peopletools
8.58
netappactive_iq_unified_manager
-
netappactive_iq_unified_manager
-
netappclustered_data_ontap_antivirus_connector
-
netappdata_ontap
-
netappe-series_santricity_os_controller
11.0.0 ≤
𝑥
≤ 11.60.3
netapphci_management_node
-
netappmanageability_software_development_kit
-
netapponcommand_insight
-
netapponcommand_workflow_automation
-
netappplug-in_for_symantec_netbackup
-
netappsantricity_smi-s_provider
-
netappsnapcenter
-
netappsolidfire
-
netapphci_compute_node
-
netapphci_storage_node
-
netappef600a_firmware
-
netappaff_a250_firmware
-
tenablelog_correlation_engine
𝑥
< 6.0.9
tenablenessus_network_monitor
𝑥
< 5.13.1
siemenssinec_infrastructure_network_services
𝑥
< 1.0.1.1
nodejsnode.js
10.0.0 ≤
𝑥
≤ 10.12.0
nodejsnode.js
10.13.0 ≤
𝑥
< 10.23.1
nodejsnode.js
12.0.0 ≤
𝑥
≤ 12.12.0
nodejsnode.js
12.13.0 ≤
𝑥
< 12.20.1
nodejsnode.js
14.0.0 ≤
𝑥
≤ 14.14.0
nodejsnode.js
14.15.0 ≤
𝑥
< 14.15.4
nodejsnode.js
15.0.0 ≤
𝑥
< 15.5.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
openssl
bullseye
1.1.1w-0+deb11u1
fixed
bullseye (security)
1.1.1w-0+deb11u2
fixed
bookworm
3.0.14-1~deb12u1
fixed
bookworm (security)
3.0.14-1~deb12u2
fixed
sid
3.3.2-2
fixed
trixie
3.3.2-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
edk2
groovy
not-affected
focal
not-affected
bionic
not-affected
xenial
not-affected
trusty
dne
nodejs
groovy
not-affected
focal
not-affected
bionic
not-affected
xenial
not-affected
trusty
not-affected
openssl
groovy
Fixed 1.1.1f-1ubuntu4.1
released
focal
Fixed 1.1.1f-1ubuntu2.1
released
bionic
Fixed 1.1.1-1ubuntu2.1~18.04.7
released
xenial
Fixed 1.0.2g-1ubuntu4.18
released
trusty
Fixed 1.0.1f-1ubuntu2.27+esm2
released
openssl1.0
groovy
dne
focal
dne
bionic
Fixed 1.0.2n-1ubuntu5.5
released
xenial
dne
trusty
dne
References