WaratekVRT Sign in

CVE-2021-3712 OpenSSL

Affected softwareOpenSSL
Severity7.4 High CVSS 3.1 3 scores
WeaknessOut-of-bounds read (CWE-125)
Published24 Aug 2021
Updated17 Jun 2026

Description

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 2 repositories below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed, none at 5+ stars
  • EPSS 48% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Lexical scanner for ASN1_STRING uses that assume NUL termination (CVE-2021-3712). Labels are NUL_SINK_WARNING, BOUNDED_PATTERN or UNKNOWN; heuristic, not a flow analysis. 2026-11-06
GitHub PoC Production Ready Steps for Remediating a openssl CVE(https://nvd.nist.gov/vuln/detail/cve-2021-3712) on EOL CentOS7 box 2026-07-09

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

7.4 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.4 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H NVD Primary published
CVSS 3.1 7.4 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H CISA-ADP Secondary
CVSS 2.0 5.8 none AV:N/AC:M/Au:N/C:P/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2025 ↗ CPU 2025-Q4 Oracle Hyperion / Installation (OpenSSL) (11.2.22.0.000)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Siebel CRM / Siebel Core - Server Infrastructure (OpenSSL) (22.10 and prior)
Oracle Critical Patch Update April 2022 ↗ CPU 2022-Q2 Oracle Communications / CNC Console (OpenSSL) (1.9.0)
Oracle Communications / SEPP (OpenSSL) (1.7.0)
Oracle Communications / Security (OpenSSL) (3.2, 3.3)
Oracle Communications / Security (OpenSSL) (8.2.5, 8.4.5)
Oracle Communications / Security (OpenSSL) (8.4, 9.0)
Oracle Communications / Security (OpenSSL) (8.4, 9.0)
Oracle Communications / UDR (OpenSSL) (1.15.0)
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle MySQL / Connector/C++ (OpenSSL) (8.0.27 and prior)
Oracle MySQL / Connector/ODBC (OpenSSL) (8.0.27 and prior)
Oracle PeopleSoft / Security (OpenSSL) (8.57, 8.58, 8.59)
Oracle Secure Backup / Oracle Secure Backup (OpenSSL) (Prior to 18.1.0.1.0)
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle MySQL / Monitoring: General (OpenSSL) (8.0.25 and prior)
Oracle MySQL / MySQL Workbench (OpenSSL) (8.0.26 and prior)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications CNC Console (OpenSSL) 1.9.0 1.9.0
Oracle Communications SEPP (OpenSSL) 1.7.0 1.7.0
Oracle Communications Security (OpenSSL) 3.2, 3.3 3.2 · 3.3 · 8.2.5 · 8.4 · 8.4.5 · 9.0
Oracle Communications UDR (OpenSSL) 1.15.0 1.15.0
Oracle Hyperion Installation (OpenSSL) 11.2.22.0.000 11.2.22.0.0
Oracle MySQL Connector/C++ (OpenSSL) 8.0.27 and prior
Oracle MySQL Connector/ODBC (OpenSSL) 8.0.27 and prior
Oracle MySQL Monitoring: General (OpenSSL) 8.0.25 and prior
Oracle MySQL MySQL Workbench (OpenSSL) 8.0.26 and prior
Oracle PeopleSoft Security (OpenSSL) 8.57, 8.58, 8.59 8.57 · 8.58 · 8.59
Oracle Secure Backup Oracle Secure Backup (OpenSSL) Prior to 18.1.0.1.0
Oracle Siebel CRM Siebel Core - Server Infrastructure (OpenSSL) 22.10 and prior

Products and versions

32 products, 56 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 9.0 · 10.0 · 11.0
nvd mcafee epolicy orchestrator generic 5.10.0 · < 5.10.0 · 5.10.0:update_1 · 5.10.0:update_2 · 5.10.0:update_3 · 5.10.0:update_4 · 5.10.0:update_5 · 5.10.0:update_6 · 5.10.0:update_7 · 5.10.0:update_8 · 5.10.0:update_9 · 5.10.0:update_10
nvd netapp clustered data ontap generic any version
nvd netapp clustered data ontap antivirus connector generic any version
nvd netapp e-series santricity os controller generic ≥ 11.0 and ≤ 11.50.2
nvd netapp hci management node generic any version
nvd netapp manageability software development kit generic any version
nvd netapp santricity smi-s provider generic any version
nvd netapp solidfire generic any version
nvd netapp storage encryption generic any version
nvd openssl openssl generic ≥ 1.0.2 and < 1.0.2 · ≥ 1.1.1 and < 1.1.1
nvd oracle communications cloud native core console generic 1.9.0
nvd oracle communications cloud native core security edge protection proxy generic 1.7.0
nvd oracle communications cloud native core unified data repository generic 1.15.0
nvd oracle communications session border controller generic 8.4 · 9.0
nvd oracle communications unified session manager generic 8.2.5 · 8.4.5
nvd oracle enterprise communications broker generic 3.2.0 · 3.3.0
nvd oracle enterprise session border controller generic 8.4 · 9.0
nvd oracle essbase generic < 11.1.2.4.47 · ≥ 21.0 and < 21.3 · 21.3
nvd oracle health sciences inform publisher generic 6.2.1.0 · 6.3.1.1
nvd oracle jd edwards enterpriseone tools generic < 9.2.6.3
nvd oracle jd edwards world security generic a9.4
nvd oracle mysql connectors generic ≤ 8.0.27
nvd oracle mysql enterprise monitor generic ≤ 8.0.25
nvd oracle mysql server generic ≥ 5.7.0 and ≤ 5.7.35 · ≥ 8.0.0 and ≤ 8.0.26
nvd oracle mysql workbench generic ≤ 8.0.26
nvd oracle peoplesoft enterprise peopletools generic 8.57 · 8.58 · 8.59
nvd oracle secure backup generic 18.1.0.1.0
nvd oracle zfs storage appliance kit generic 8.8
nvd siemens sinec infrastructure network services generic < 1.0.1.1
nvd tenable nessus network monitor generic < 6.0.0
nvd tenable tenable.sc generic ≥ 5.16.0 and ≤ 5.19.1

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Labels:** MYSQL PROTOCOL, SECURITY (OPENSSL), HTTPS, MYSQL WORKBENCH (OPENSSL), MONITORING: GENERAL (OPENSSL), MYSQL WORKBENCH, MULTIPLE, NO AUTH REMOTE EXPLOIT, ORACLE SECURE BACKUP (OPENSSL), CONNECTOR/ODBC (OPENSSL), CONNECTOR/C++ (OPENSSL) **Products:** ORACLE SECURE BACKUP, ORACLE PEOPLESOFT, MYSQL WORKBENCH, MYSQL CONNECTORS, PEOPLESOFT ENTERPRISE PEOPLETOOLS, MYSQL ENTERPRISE MONITOR, ORACLE MYSQL

References

URLTags
http://www.openwall.com/lists/oss-security/2021/08/26/2 Mailing List, Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-244969.pdf Patch, Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Patch, Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=94d23fcff9b2a7a8368dfe52214d5c2569882c11
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=ccb0a11145ee72b042d10593a64eaf9e8a55ec12
https://kc.mcafee.com/corporate/index?page=content&id=SB10366 Third Party Advisory
https://lists.apache.org/thread.html/r18995de860f0e63635f3008fd2a6aca82394249476d21691e7c59c9e%40%3Cdev.tomcat.apache.org%3E
https://lists.apache.org/thread.html/rad5d9f83f0d11fb3f8bb148d179b8a9ad7c6a17f18d70e5805a713d1%40%3Cdev.tomcat.apache.org%3E
https://lists.debian.org/debian-lts-announce/2021/09/msg00014.html Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/09/msg00021.html Mailing List, Third Party Advisory

Timeline

Published2021-08-24By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.