CVE-2021-3712: Read buffer overruns processing ASN.1 strings
Noroxi assessment
Priority: Plan (action score 43/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 48% (FIRST EPSS); higher than 98.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: openssl (Alpine:v3.11) 1.1.1l-r0; openssl3 (Alpine:v3.15) 1.1.1l-r0; openssl1.1-compat (Alpine:v3.17) 1.1.1l-r0.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to openssl (Alpine:v3.11) 1.1.1l-r0; openssl3 (Alpine:v3.15) 1.1.1l-r0; openssl1.1-compat (Alpine:v3.17) 1.1.1l-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own "d2i" functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure. However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the "data" and "length" fields in the ASN1_STRING array. This can also happen by using the ASN1_STRING_set0() function. Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the "data" field, then a read buffer overrun can occur. The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the X509_get1_email(), X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext). Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y).
- BDU:2021-04571
- GHSA-q9wj-f4qw-6vfj
- DLA-2766-1
- DLA-2774-1
- DSA-4963-1
- openSUSE-SU-2021:1188-1
- openSUSE-SU-2021:1189-1
- openSUSE-SU-2021:1248-1
- openSUSE-SU-2021:1261-1
- openSUSE-SU-2021:2827-1
- openSUSE-SU-2021:2830-1
- openSUSE-SU-2021:2966-1
- openSUSE-SU-2021:2994-1
- openSUSE-SU-2024:12303-1
- RHSA-2021:4614
- RHSA-2021:4861
- RHSA-2021:5226
- RHSA-2022:0064
- RLSA-2021:5226
- RUSTSEC-2021-0098
- Published
- Aug 24, 2021
- Updated
- Jun 17, 2026
- EPSS
- 48.0% · 98th percentile
- CWE
- CWE-125
Report tools
Action score
43
Plan
Add it to your regular patch cycle.
- CVSS
- 29 / 40 · 7.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 14 / 30 · 48.0%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| openssl | openssl | cpe:2.3:a:openssl:openssl |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | clustered data ontap antivirus connector | cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector |
| netapp | e-series santricity os controller | cpe:2.3:a:netapp:e-series_santricity_os_controller |
| netapp | hci management node | cpe:2.3:a:netapp:hci_management_node |
| netapp | manageability software development kit | cpe:2.3:a:netapp:manageability_software_development_kit |
| netapp | santricity smi-s provider | cpe:2.3:a:netapp:santricity_smi-s_provider |
| netapp | solidfire | cpe:2.3:a:netapp:solidfire |
| netapp | storage encryption | cpe:2.3:a:netapp:storage_encryption |
| mcafee | epolicy orchestrator | cpe:2.3:a:mcafee:epolicy_orchestrator |
| tenable | nessus network monitor | cpe:2.3:a:tenable:nessus_network_monitor |
and 20 more
Check your server's TLS configuration
The OpenSSL version can't be seen from outside; the free SSL checker tests your certificate, enabled TLS versions and weak ciphers. Confirm the version on your server with the package manager.
Run the SSL checkAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- oracle mysql server5.7.0 and later · up to 5.7.35 inclusive
- oracle mysql server8.0.0 and later · up to 8.0.26 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.
OpenSSL OpenSSL
- Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k), Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y)affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.11 | openssl | from 1.0.2 · before 1.1.1l-r0 | 1.1.1l-r0 |
| Alpine:v3.15 | openssl3 | before 1.1.1l-r0 | 1.1.1l-r0 |
| Alpine:v3.17 | openssl1.1-compat | before 1.1.1l-r0 | 1.1.1l-r0 |
| crates.io | openssl-src | from 0.0.0-0 · before 111.16.0 | 111.16.0 |
| crates.io | openssl-src | before 111.16.0 | 111.16.0 |
| Debian:10 | openssl | before 1.1.1d-0+deb10u7 | 1.1.1d-0+deb10u7 |
| Debian:11 | openssl | before 1.1.1k-1+deb11u1 | 1.1.1k-1+deb11u1 |
| Debian:12 | openssl | before 1.1.1l-1 | 1.1.1l-1 |
| Debian:9 | openssl | before 1.1.0l-1~deb9u4 | 1.1.0l-1~deb9u4 |
| Debian:9 | openssl1.0 | before 1.0.2u-1~deb9u6 | 1.0.2u-1~deb9u6 |
| openSUSE:Leap 15.2 | openssl-1_0_0 | before 1.0.2p-lp152.8.15.1 | 1.0.2p-lp152.8.15.1 |
| openSUSE:Leap 15.2 | openssl-1_0_0 | before 1.0.2p-lp152.8.18.1 | 1.0.2p-lp152.8.18.1 |
| openSUSE:Leap 15.2 | openssl-1_1 | before 1.1.1d-lp152.7.24.1 | 1.1.1d-lp152.7.24.1 |
| openSUSE:Leap 15.2 | openssl-1_1 | before 1.1.1d-lp152.7.21.1 | 1.1.1d-lp152.7.21.1 |
| openSUSE:Leap 15.3 | openssl-1_0_0 | before 1.0.2p-3.43.1 | 1.0.2p-3.43.1 |
| openSUSE:Leap 15.3 | openssl-1_0_0 | before 1.0.2p-3.40.2 | 1.0.2p-3.40.2 |
| openSUSE:Leap 15.3 | openssl-1_1 | before 1.1.1d-11.30.1 | 1.1.1d-11.30.1 |
| openSUSE:Leap 15.3 | openssl-1_1 | before 1.1.1d-11.27.1 | 1.1.1d-11.27.1 |
| openSUSE:Tumbleweed | nmap | before 7.93-1.1 | 7.93-1.1 |
| Red Hat:enterprise_linux:7::client | openssl | before 1:1.0.2k-23.el7_9 | 1:1.0.2k-23.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-debuginfo | before 1:1.0.2k-23.el7_9 | 1:1.0.2k-23.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-devel | before 1:1.0.2k-23.el7_9 | 1:1.0.2k-23.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-libs | before 1:1.0.2k-23.el7_9 | 1:1.0.2k-23.el7_9 |
| Red Hat:enterprise_linux:7::client | openssl-perl | before 1:1.0.2k-23.el7_9 | 1:1.0.2k-23.el7_9 |
+96
Same product
openssl: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV90Now
- CVE-2021-3711SM2 Decryption Buffer Overflow65This week
- CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code 65This week
Published before and after this one in the same product
- ← EarlierCVE-2021-3449Mar 25, 2021 · NULL pointer deref in signature_algorithms processing42Plan
- ← EarlierCVE-2021-3450Mar 25, 2021 · CA certificate check bypass with X509_V_FLAG_X509_STRICT35Monitor
- Later →CVE-2021-4044Dec 14, 2021 · Invalid handling of X509_verify_cert() internal errors in libssl45Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:openssl | 1.1.1l-r0 · Alpine:v3.11 | Package registry (OSV) |
| alpine:openssl1.1-compat | 1.1.1l-r0 · Alpine:v3.17 | Package registry (OSV) |
| alpine:openssl3 | 1.1.1l-r0 · Alpine:v3.15 | Package registry (OSV) |
| crates.io:openssl-src | 111.16.0 | Package registry (OSV) |
| debian:openssl | 1.1.1l-1 · Debian:12 | Package registry (OSV) |
| debian:openssl1.0 | 1.0.2u-1~deb9u6 · Debian:9 | Package registry (OSV) |
| opensuse:nmap | 7.93-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:openssl-1_0_0 | 1.0.2p-lp152.8.15.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:openssl-1_1 | 1.1.1d-lp152.7.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr | 0:1.6.3-107.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-debuginfo | 0:1.6.3-107.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-devel | 0:1.6.3-107.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-debuginfo | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-devel | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-ldap | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-mysql | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-nss | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-odbc | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-openssl | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-util-pgsql | 0:1.6.1-84.jbcs.el7 · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| rocky linux:openssl | 1:1.1.1k-5.el8_5 · Rocky Linux:8 | Package registry (OSV) |
| suse:compat-openssl098 | 0.9.8j-106.27.2 · SUSE:Linux Enterprise Module for Legacy 12 | Package registry (OSV) |
| suse:openssl | 0.9.8j-0.106.40.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
| suse:openssl-1_0_0 | 1.0.2p-3.39.3 · SUSE:OpenStack Cloud 9 | Package registry (OSV) |
| suse:openssl-1_1 | 1.1.0i-4.60.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOS | Package registry (OSV) |
| suse:openssl1 | 1.0.1g-0.58.36.2 · SUSE:Linux Enterprise Server 11-SECURITY | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2026-07-09 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1780 d
- TodayNov 6, 2026+1900 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0436 · Jun 20, 2022(IBM Güvenlik Bildirimi)
- TR-22-0340 · May 11, 2022(Mitsubishi Electric Bildirimi)
- TR-22-0222 · Mar 15, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
- TR-22-0113 · Feb 4, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0097 · Jan 28, 2022(RedHat Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- cert-portal.siemens.com/productcert/pdf/ssa-244969.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=94d23fcff9b2a7a8368dfe52214d5c2569882c11
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=ccb0a11145ee72b042d10593a64eaf9e8a55ec12
- kc.mcafee.com/corporate/index?page=content&id=SB10366
- lists.apache.org/thread.html/r18995de860f0e63635f3008fd2a6aca82394249476d21691e7c59c9e%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org/thread.html/rad5d9f83f0d11fb3f8bb148d179b8a9ad7c6a17f18d70e5805a713d1%40%3Cdev.tomcat.apache.org%3E
- lists.debian.org/debian-lts-announce/2021/09/msg00014.html
- lists.debian.org/debian-lts-announce/2021/09/msg00021.html
- security.gentoo.org/glsa/202209-02
- security.gentoo.org/glsa/202210-02
- security.netapp.com/advisory/ntap-20210827-0010/
- security.netapp.com/advisory/ntap-20240621-0006/
- www.debian.org/security/2021/dsa-4963
- www.openssl.org/news/secadv/20210824.txt
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpuoct2021.html
- www.tenable.com/security/tns-2021-16
Vendor advisories and official records. Exploit/PoC links are deliberately left out.