Lucene search

K
nvd[email protected]NVD:CVE-2021-3711
HistoryAug 24, 2021 - 3:15 p.m.

CVE-2021-3711

2021-08-2415:15:09
CWE-120
web.nvd.nist.gov
2

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.068

Percentile

93.9%

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the “out” parameter can be NULL and, on exit, the “outlen” parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the “out” parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated. Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k).

Affected configurations

NVD
Node
opensslopensslRange1.1.11.1.1l
Node
debiandebian_linuxMatch10.0
OR
debiandebian_linuxMatch11.0
Node
netappactive_iq_unified_managerMatch-vmware_vsphere
OR
netappactive_iq_unified_managerMatch-windows
OR
netappclustered_data_ontapMatch-
OR
netappclustered_data_ontap_antivirus_connectorMatch-
OR
netappe-series_santricity_os_controllerRange11.011.50.2
OR
netapphci_management_nodeMatch-
OR
netappmanageability_software_development_kitMatch-
OR
netapponcommand_insightMatch-
OR
netapponcommand_workflow_automationMatch-
OR
netappsantricity_smi-s_providerMatch-
OR
netappsnapcenterMatch-
OR
netappsolidfireMatch-
OR
netappstorage_encryptionMatch-
Node
oraclecommunications_cloud_native_core_security_edge_protection_proxyMatch1.7.0
OR
oraclecommunications_cloud_native_core_unified_data_repositoryMatch1.15.0
OR
oraclecommunications_session_border_controllerMatch8.4
OR
oraclecommunications_session_border_controllerMatch9.0
OR
oraclecommunications_unified_session_managerMatch8.2.5
OR
oraclecommunications_unified_session_managerMatch8.4.5
OR
oracleenterprise_communications_brokerMatch3.2.0
OR
oracleenterprise_communications_brokerMatch3.3.0
OR
oracleenterprise_session_border_controllerMatch8.4
OR
oracleenterprise_session_border_controllerMatch9.0
OR
oracleessbaseRange<11.1.2.4.47
OR
oracleessbaseRange21.121.3
OR
oraclehealth_sciences_inform_publisherMatch6.2.1.1
OR
oraclehealth_sciences_inform_publisherMatch6.3.1.1
OR
oraclejd_edwards_enterpriseone_toolsRange<9.2.6.3
OR
oraclejd_edwards_world_securityMatcha9.4
OR
oraclemysql_connectorsRange8.0.27
OR
oraclemysql_enterprise_monitorRange8.0.25
OR
oraclemysql_serverRange5.7.05.7.35
OR
oraclemysql_serverRange8.0.08.0.26
OR
oraclepeoplesoft_enterprise_peopletoolsMatch8.57
OR
oraclepeoplesoft_enterprise_peopletoolsMatch8.58
OR
oraclepeoplesoft_enterprise_peopletoolsMatch8.59
OR
oraclezfs_storage_appliance_kitMatch8.8
Node
tenablenessus_network_monitorRange5.13.1
OR
tenabletenable.scRange5.16.05.19.1

References

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.068

Percentile

93.9%