> CVE-2021-3711 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2021-08-24 15:15
MODIFIED
2024-11-21 06:22
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
87.82%
Top 0.2%
⚡ EPSS ÉLEVÉ (87.8%)
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-17

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

> AFFECTED_PRODUCTS

OpenSSL - OpenSSL
>= 1.1.1 < 1.1.1l
Debian - Debian Linux
Version: 10.0
Debian - Debian Linux
Version: 11.0
Oracle - Peoplesoft Enterprise Peopletools
Version: 8.57
Oracle - Peoplesoft Enterprise Peopletools
Version: 8.58
Oracle - Peoplesoft Enterprise Peopletools
Version: 8.59
Oracle - Jd Edwards Enterpriseone Tools
< 9.2.6.3
Oracle - Mysql Enterprise Monitor
<= 8.0.25
Oracle - Enterprise Communications Broker
Version: 3.2.0
Oracle - Enterprise Communications Broker
Version: 3.3.0
Oracle - Communications Session Border Controller
Version: 8.4
Oracle - Communications Session Border Controller
Version: 9.0
Netapp - E Series Santricity Os Controller
>= 11.0 <= 11.50.2
Oracle - Mysql Connectors
<= 8.0.27
Oracle - Jd Edwards World Security
Version: a9.4
Oracle - Zfs Storage Appliance Kit
Version: 8.8
Oracle - Mysql Server
>= 5.7.0 <= 5.7.35
Oracle - Mysql Server
>= 8.0.0 <= 8.0.26
Tenable - Tenable.sc
>= 5.16.0 <= 5.19.1
Oracle - Communications Unified Session Manager
Version: 8.2.5
Oracle - Communications Unified Session Manager
Version: 8.4.5
Oracle - Enterprise Session Border Controller
Version: 8.4
Oracle - Enterprise Session Border Controller
Version: 9.0
Oracle - Communications Cloud Native Core Unified Data Repository
Version: 1.15.0
Oracle - Essbase
< 11.1.2.4.47
Oracle - Essbase
>= 21.1 < 21.3
Oracle - Communications Cloud Native Core Security Edge Protection Proxy
Version: 1.7.0
Tenable - Nessus Network Monitor
<= 5.13.1
Oracle - Health Sciences Inform Publisher
Version: 6.2.1.1
Oracle - Health Sciences Inform Publisher
Version: 6.3.1.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-5ww6-px42-wc85 CRITICAL

SM2 Decryption Buffer Overflow

AFFECTED PACKAGES:
RUST / openssl-src
< 111.16.0
Fixed in: 111.16.0

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/08/2021 15:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:28
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME