CVE-2021-3711 in Aveva InTouch Access Anywhere and 36 more products
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).
Affects 37 products from 8 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Aveva | InTouch Access Anywhere | ≤ 2023 |
| Debian | Debian Linux | 10.0 11.0 |
| Hitachienergy | RTU500 (device and firmware) | ≥ 12.0.1, ≤ 12.0.15 ≥ 12.2.1, ≤ 12.2.12 ≥ 12.4.1, ≤ 12.4.12 ≥ 12.6.1, ≤ 12.6.9 ≥ 12.7.1, ≤ 12.7.6 ≥ 13.2.1, ≤ 13.2.6+2 more≥ 13.3.1, ≤ 13.3.3 ≥ 13.4.1, ≤ 13.4.2 |
| Netapp | Snapcenter | No version listed by the source |
| Netapp | Hci Management Node | No version listed by the source |
| Netapp | Solidfire | No version listed by the source |
| Netapp | Oncommand Insight | No version listed by the source |
| Netapp | Oncommand Workflow Automation | No version listed by the source |
| Netapp | Clustered Data Ontap | No version listed by the source |
| Netapp | Clustered Data Ontap Antivirus Connector | No version listed by the source |
| Netapp | Active Iq Unified Manager | No version listed by the source |
| Netapp | E-Series Santricity Os Controller | ≥ 11.0, ≤ 11.50.2 |
| Netapp | Santricity Smi-S Provider (device and firmware) | No version listed by the source |
| Netapp | Manageability Software Development Kit | No version listed by the source |
| Netapp | Storage Encryption | No version listed by the source |
| Openssl | Openssl | ≥ 1.1.1, < 1.1.1l |
| Oracle | Mysql Enterprise Monitor | ≤ 8.0.25 |
| Oracle | Enterprise Communications Broker | 3.2.0 3.3.0 |
| Oracle | Mysql Connectors | ≤ 8.0.27 |
| Oracle | Jd Edwards World Security | a9.4 |
| Oracle | Mysql Server | ≥ 5.7.0, ≤ 5.7.35 ≥ 8.0.0, ≤ 8.0.26 |
| Oracle | Zfs Storage Appliance Kit | 8.8 |
| Oracle | Communications Unified Session Manager | 8.2.5 8.4.5 |
| Oracle | Enterprise Session Border Controller | 8.4 9.0 |
| Oracle | Communications Cloud Native Core Unified Data Repository | 1.15.0 |
| Oracle | Essbase | < 11.1.2.4.47 ≥ 21.1, < 21.3 |
| Oracle | Communications Cloud Native Core Security Edge Protection Proxy | 1.7.0 |
| Oracle | Health Sciences Inform Publisher | 6.2.1.1 6.3.1.1 |
| Oracle | Jd Edwards Enterpriseone Tools | < 9.2.6.3 |
| Oracle | Peoplesoft Enterprise Peopletools | 8.57 8.58 8.59 |
| Oracle | Communications Session Border Controller | 8.4 9.0 |
| Siemens | BFCClient | < 2.17 |
| Siemens | SINEC Ins | < 1.0.1.1 |
| Tenable | Tenable.Sc | ≥ 5.16.0, ≤ 5.19.1 |
| Tenable | Nessus Network Monitor | ≤ 5.13.1 |
| Aveva | Plant Scada Access Anywhere | ≤ 2020 R2 |
| Mitsubishi Electric | Melsoft Iq Appportal | ≥ 1.00A, ≤ 1.26C |
| Phoenixcontact | Axc F 1152 Firmware | < 2022.0.3 |
| Phoenixcontact | Axc F 2152 Firmware | < 2022.0.3 |
| Phoenixcontact | Axc F 3152 Firmware | < 2022.0.5 |
| Sick | Package Analytics | < 4.4 |
Fix and vendor advisory
- SINEC INS: Update to V1.0.1.1 or later version
Source: ICSA-22-069-09
- RTU500 series CMU Firmware version 12.0.1 - 12.0.14: Update to CMU Firmware version 12.0.15* (Planned Update)
- RTU500 series CMU Firmware version 12.2.1 - 12.2.11: Update to CMU Firmware version 12.2.12* (Planned Update)
- RTU500 series CMU Firmware version 12.4.1 - 12.4.11: Update to CMU Firmware version 12.4.12* (Planned Update)
- RTU500 series CMU Firmware version 12.6.1 - 12.6.8: Update to CMU Firmware version 12.6.9
- RTU500 series CMU Firmware version 12.7.1 - 12.7.5: Update to CMU Firmware version 12.7.6
- RTU500 series CMU Firmware version 13.2.1 - 13.2.5: Update to CMU Firmware version 13.2.6
- RTU500 series CMU Firmware version 13.3.1 - 13.3.3: Update to CMU Firmware version 13.3.4* (Planned Update)
- RTU500 series CMU Firmware version 13.4.1: Update to CMU Firmware version 13.4.2
Source: ICSA-23-143-02
- BFCClient: Update to V2.17 or later version. Contact customer support to obtain the update
Source: ICSA-25-226-21
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-3711 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-075594-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-08-24 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and buffer size checks for SM2 decryption operations to prevent buffer overflows. Ensure that all OpenSSL versions are updated to 1.1.1l or later.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.