CVE-2021-3711Critical· 9.8▾ MidnightIn 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…
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 53.9 · likelihood 17.6 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Stakeholder-Specific Vulnerability Categorization from CISA's ADP record at CVE.org: whether exploitation is observed, whether an attack can be automated, and how much of the system is at stake.
Exploit-prediction probability, daily snapshots since Oct 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
Last analysed / modified upstream
88%
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).
openssl >= 1.1.1, < 1.1.1ldebian_linux = 10.0debian_linux = 11.0active_iq_unified_managerclustered_data_ontapclustered_data_ontap_antivirus_connectore-series_santricity_os_controller >= 11.0, <= 11.50.2hci_management_nodemanageability_software_development_kitoncommand_insightoncommand_workflow_automationsantricity_smi-s_providersnapcentersolidfirestorage_encryptioncommunications_cloud_native_core_security_edge_protection_proxy = 1.7.0communications_cloud_native_core_unified_data_repository = 1.15.0communications_session_border_controller = 8.4communications_session_border_controller = 9.0communications_unified_session_manager = 8.2.5communications_unified_session_manager = 8.4.5enterprise_communications_broker = 3.2.0enterprise_communications_broker = 3.3.0enterprise_session_border_controller = 8.4enterprise_session_border_controller = 9.0essbase < 11.1.2.4.47essbase >= 21.1, < 21.3health_sciences_inform_publisher = 6.2.1.1health_sciences_inform_publisher = 6.3.1.1jd_edwards_enterpriseone_tools < 9.2.6.3jd_edwards_world_security = a9.4mysql_connectors <= 8.0.27mysql_enterprise_monitor <= 8.0.25mysql_server >= 5.7.0, <= 5.7.35mysql_server >= 8.0.0, <= 8.0.26peoplesoft_enterprise_peopletools = 8.57peoplesoft_enterprise_peopletools = 8.58peoplesoft_enterprise_peopletools = 8.59zfs_storage_appliance_kit = 8.8nessus_network_monitor <= 5.13.1tenable.sc >= 5.16.0, <= 5.19.1Upgrade past the affected range:
openssl 1.1.1lessbase 21.3jd_edwards_enterpriseone_tools 9.2.6.3Connected by shared product, vendor, weakness, or advisory.
CVE-2022-2097Medium· 5.3AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances
CVE-2022-0778High· 7.5The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli
CVE-2021-3449Medium· 5.9An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client
CVE-2021-3450High· 7.4The X509_V_FLAG_X509_STRICT flag enables additional security checks of the certificates present in a certificate chain
CVE-2023-0464High· 7.5A security vulnerability has been identified in all supported versions of OpenSSL related to the verification of X.509 certificate chains that include policy constraints
CVE-2023-0215High· 7.5The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO