SM2 Decryption Buffer Overflow
CVSS score
9.8
EPSS probability
%87.8
Risk score
8.6
Published
5 y ago
Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2021-3711 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
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).
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2021-3711 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | openssl | openssl | View |
| 2 | openssl | openssl | View |
| 3 | debian | debian linux | View |
| 4 | debian | debian linux | View |
| 5 | netapp | active iq unified manager | View |
| 6 | netapp | clustered data ontap | View |
| 7 | netapp | clustered data ontap antivirus connector | View |
| 8 | netapp | e-series santricity os controller | View |
| 9 | netapp | hci management node | View |
| 10 | netapp | manageability software development kit | View |
| 11 | netapp | oncommand insight | View |
| 12 | netapp | oncommand workflow automation | View |
| 13 | netapp | santricity smi-s provider | View |
| 14 | netapp | snapcenter | View |
| 15 | netapp | solidfire | View |
| 16 | netapp | storage encryption | View |
| 17 | oracle | communications cloud native core security edge protection proxy | View |
| 18 | oracle | communications cloud native core unified data repository | View |
| 19 | oracle | communications session border controller | View |
| 20 | oracle | communications session border controller | View |
| 21 | oracle | communications unified session manager | View |
| 22 | oracle | communications unified session manager | View |
| 23 | oracle | enterprise communications broker | View |
| 24 | oracle | enterprise communications broker | View |
| 25 | oracle | enterprise session border controller | View |
| 26 | oracle | enterprise session border controller | View |
| 27 | oracle | essbase | View |
| 28 | oracle | essbase | View |
| 29 | oracle | health sciences inform publisher | View |
| 30 | oracle | health sciences inform publisher | View |
| 31 | oracle | jd edwards enterpriseone tools | View |
| 32 | oracle | jd edwards world security | View |
| 33 | oracle | mysql connectors | View |
| 34 | oracle | mysql enterprise monitor | View |
| 35 | oracle | mysql server | View |
| 36 | oracle | mysql server | View |
| 37 | oracle | peoplesoft enterprise peopletools | View |
| 38 | oracle | peoplesoft enterprise peopletools | View |
| 39 | oracle | peoplesoft enterprise peopletools | View |
| 40 | oracle | zfs storage appliance kit | View |
| 41 | tenable | nessus network monitor | View |
| 42 | tenable | tenable.sc | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 9.8 | CVSS V31 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| 7.5 | CVSS V2 | — | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Patch and Remediation Guide
Solution & Remediation Advisory
3 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-3711 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-3711 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
Improper input validation in Apache Log4j
Improper access control in N/a
Improper authentication in Oracle Corporation Oracle Concurrent Processing
Vulnerability in Apache Tomcat
Path traversal in N/a
Vulnerability in GNU Inetutils
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.enginteksut.com.tr/api/v1/intel/cves/CVE-2021-3711"