Skip to content
Vulnerability Intelligence

CVE-2021-3712

High

Read buffer overruns processing ASN.1 strings

Published May 24, 2022 · Updated Aug 4, 2026 · Also known as ALPINE-CVE-2021-3712, DEBIAN-CVE-2021-3712, DLA-2766-1, DLA-2774-1, EUVD-2022-4935, GHSA-q9wj-f4qw-6vfj, JLSEC-2026-225, RUSTSEC-2021-0098, SUSE-SU-2021:14791-1, SUSE-SU-2021:14792-1, SUSE-SU-2021:14801-1, SUSE-SU-2021:14802-1, SUSE-SU-2021:2825-1, SUSE-SU-2021:2826-1, SUSE-SU-2021:2827-1, SUSE-SU-2021:2829-1, SUSE-SU-2021:2831-1, SUSE-SU-2021:2852-1, SUSE-SU-2021:2966-1, SUSE-SU-2021:2966-2, SUSE-SU-2021:2967-1, SUSE-SU-2021:2968-1, SUSE-SU-2021:2994-1, SUSE-SU-2021:2995-1, SUSE-SU-2021:2996-1, SUSE-SU-2021:3019-1, SUSE-SU-2021:3144-1, TR-21-0684, UBUNTU-CVE-2021-3712, USN-5051-2, USN-5051-3

Key Facts

Patch immediately
  • CVE-2021-3712 is a high-severity vulnerability (CVSS 7.4 v3.1) affecting Epolicy Orchestrator (Mcafee), Clustered Data Ontap (Netapp), Clustered Data Ontap Antivirus Connector (Netapp) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 50% probability of exploitation in the next 30 days.
  • Fixed versions are available, including compat-openssl098 0.9.8j-106.27.2, compat-openssl098 0.9.8j-106.30.2, edk2 0~20191122.bd85bf54-2ubuntu3.3.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

7.4

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

EPSS (30-day exploit likelihood)

50%

Higher than 98.9% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2021-3712 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

Affected Products

621 affected entries in total
ProductAffected versionsFixed in
Epolicy OrchestratorMcafee5.10.0, 5.10.0-update_1, 5.10.0-update_10, 5.10.0-update_2, 5.10.0-update_3, 5.10.0-update_4, 5.10.0-update_5, 5.10.0-update_65.10.0
Clustered Data OntapNetappSee advisoryn/a
Clustered Data Ontap Antivirus ConnectorNetappSee advisoryn/a
E-Series Santricity OS ControllerNetappSee advisory11.50.2
Hci Management NodeNetappSee advisoryn/a
20 more affected products in the full CVE brief

Patched Releases

compat-openssl098

0.9.8j-106.27.2, 0.9.8j-106.30.2

edk2

0~20191122.bd85bf54-2ubuntu3.3, 2022.02-3ubuntu0.22.04.4, 2024.02-2ubuntu0.6, 20240223gitedc6681206c1-1, 2025.02-3ubuntu2.2

edk2-aarch64

20200801stable-1.amzn2.0.5

edk2-ovmf

20200801stable-1.amzn2.0.5

edk2-tools

20200801stable-1.amzn2.0.5

edk2-tools-doc

20200801stable-1.amzn2.0.5

edk2-tools-python

20200801stable-1.amzn2.0.5

efi-shell-aa64

2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2

efi-shell-arm

2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2

efi-shell-ia32

2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2

efi-shell-loongarch64

2025.02-3ubuntu2.2

efi-shell-riscv64

2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2

efi-shell-x64

2024.02-2ubuntu0.6, 2025.02-3ubuntu2.2

jbcs-httpd24-apr

0:1.6.3-107.el8jbcs, 0:1.6.3-107.jbcs.el7

jbcs-httpd24-apr-util

0:1.6.1-84.el8jbcs, 0:1.6.1-84.jbcs.el7

jbcs-httpd24-curl

0:7.78.0-2.el8jbcs, 0:7.78.0-2.jbcs.el7

jbcs-httpd24-httpd

0:2.4.37-78.el8jbcs, 0:2.4.37-78.jbcs.el7

jbcs-httpd24-mod_cluster-native

0:1.3.16-9.Final_redhat_2.el8jbcs, 0:1.3.16-9.Final_redhat_2.jbcs.el7

jbcs-httpd24-mod_http2

0:1.15.7-21.el8jbcs, 0:1.15.7-21.jbcs.el7

jbcs-httpd24-mod_jk

0:1.2.48-20.redhat_1.el8jbcs, 0:1.2.48-20.redhat_1.jbcs.el7

jbcs-httpd24-mod_md

1:2.0.8-40.el8jbcs, 1:2.0.8-40.jbcs.el7

jbcs-httpd24-mod_security

0:2.9.2-67.GA.el8jbcs, 0:2.9.2-67.GA.jbcs.el7

jbcs-httpd24-nghttp2

0:1.39.2-39.el8jbcs, 0:1.39.2-39.jbcs.el7

jbcs-httpd24-openssl

1:1.1.1g-8.el8jbcs, 1:1.1.1g-8.jbcs.el7

jbcs-httpd24-openssl-chil

0:1.0.0-7.el8jbcs, 0:1.0.0-7.jbcs.el7

Timeline

  1. Publicly disclosed

    May 24, 2022

  2. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-125 Out-of-bounds Read

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-3712 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo