Attacker Value
Unknown
(0 users assessed)
Exploitability
Unknown
(0 users assessed)
User Interaction
None
Privileges Required
None
Attack Vector
Network
0

CVE-2021-3711

Disclosure Date: August 24, 2021
Add MITRE ATT&CK tactics and techniques that apply to this CVE.

Description

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

Add Assessment

No one has assessed this topic. Be the first to add your voice to the community.

CVSS V3 Severity and Metrics
Base Score:
9.8 Critical
Impact Score:
5.9
Exploitability Score:
3.9
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High

General Information

Vendors

  • debian,
  • netapp,
  • openssl,
  • oracle,
  • tenable

Products

  • active iq unified manager -,
  • clustered data ontap -,
  • clustered data ontap antivirus connector -,
  • communications cloud native core security edge protection proxy 1.7.0,
  • communications cloud native core unified data repository 1.15.0,
  • communications session border controller 8.4,
  • communications session border controller 9.0,
  • communications unified session manager 8.2.5,
  • communications unified session manager 8.4.5,
  • debian linux 10.0,
  • debian linux 11.0,
  • e-series santricity os controller,
  • enterprise communications broker 3.2.0,
  • enterprise communications broker 3.3.0,
  • enterprise session border controller 8.4,
  • enterprise session border controller 9.0,
  • essbase,
  • hci management node -,
  • health sciences inform publisher 6.2.1.1,
  • health sciences inform publisher 6.3.1.1,
  • jd edwards enterpriseone tools,
  • jd edwards world security a9.4,
  • manageability software development kit -,
  • mysql connectors,
  • mysql enterprise monitor,
  • mysql server,
  • nessus network monitor,
  • oncommand insight -,
  • oncommand workflow automation -,
  • openssl,
  • peoplesoft enterprise peopletools 8.57,
  • peoplesoft enterprise peopletools 8.58,
  • peoplesoft enterprise peopletools 8.59,
  • santricity smi-s provider -,
  • snapcenter -,
  • solidfire -,
  • storage encryption -,
  • tenable.sc,
  • zfs storage appliance kit 8.8

References

Additional Info

Technical Analysis