SecBoard
Zurück zur CVE-Übersicht

CVE-2021-3711

CRITICAL(9.8)

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

Risk Signal Score51/100 — HOCH
  • CVSS 9.8 — Kritisch
  • EPSS 88% — sehr wahrscheinlich ausgenutzt

Erwähnungen (letzte 60 Tage)

Artikel

EPSS-Score

87.8%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

9.8

Technische Schwere

SecBoard-Einordnung

Die Schwachstelle CVE-2021-3711 in OpenSSL betrifft die Implementierung der SM2-Entschlüsselung in der Funktion EVP_PKEY_decrypt(). Ein Fehler bei der Berechnung der benötigten Puffergröße kann zu einem Heap-basierten Pufferüberlauf von bis zu 62 Bytes führen. Dies ermöglicht einem Angreifer, der SM2-verschlüsselte Daten zur Entschlüsselung präsentieren kann, das Überschreiben von Daten im Speicher, was zu einer Änderung des Anwendungsverhaltens oder einem Absturz führen kann. Mit einem CVSS-Score von 9.8 (CRITICAL) und einer EPSS-Wahrscheinlichkeit von 88% für die Ausnutzung ist diese Schwachstelle als äußerst kritisch einzustufen. Obwohl sie nicht in gelistet ist, deutet die hohe EPSS-Bewertung auf eine signifikante Bedrohung hin, die eine schnelle Reaktion erfordert. Security-Teams sollten umgehend alle betroffenen OpenSSL-Installationen auf die Version 1.1.1l oder höher aktualisieren, um diese Schwachstelle zu beheben. Produkte wie Debian Linux 10.0 und 11.0 sowie verschiedene NetApp-Produkte, die OpenSSL nutzen, sind ebenfalls betroffen und müssen entsprechend gepatcht werden. Eine Priorisierung der Patches ist aufgrund der hohen Kritikalität und Ausnutzbarkeit dringend geboten.

KI-gestützte Einordnung auf Basis der NVD-Daten.

Beschreibung

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).

Erkennung & Indikatoren

Ausnutzung

In den geprüften Quellen nicht genannt

Behobene Versionen

  • OpenSSL 1.1.1l
  • OpenSSL 1.1.1q
  • IBM Spectrum Protect 8.1.13.3

Threat-Hunting-Queries

Detecting calls to EVP_PKEY_decrypt() with insufficient buffer allocation or subsequent buffer overflows in applications using OpenSSL's SM2 decryption. This requires deep visibility into application memory and function calls, which might be challenging to implement generically.

Sentinel/Defender KQL

DeviceProcessEvents
| where FileName contains "openssl" or ProcessCommandLine contains "EVP_PKEY_decrypt"
| where ProcessCommandLine contains "SM2" and ProcessCommandLine contains "decrypt"
| project Timestamp, DeviceName, InitiatingProcessCommandLine, ProcessCommandLine, FileName, FolderPath, SHA256
// Further analysis needed to detect actual buffer overflow conditions, e.g., memory access violations or crashes after such calls.

SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.

Betroffene Produkte

  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
  • cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:manageability_software_development_kit:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:storage_encryption:-:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:communications_session_border_controller:8.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:communications_session_border_controller:9.0:*:*:*:*:*:*:*

Referenzen