{
  "cveId": "CVE-2021-3712",
  "url": "https://patchblox.com/security/cve/CVE-2021-3712",
  "summary": "CVE-2021-3712 is fixed in 15 products on 1 platform, first by libssl1.0.0 1.0.2n-1ubuntu5.7, released August 23, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "libssl3t64: ASN.1 strings are represented internally within OpenSSL as an ASN1_STRINGstructure which contains a buffer holding th...",
  "description": "ASN.1 strings are represented internally within OpenSSL as an ASN1_STRINGstructure which contains a buffer holding the string data and a fieldholding the buffer length. This contrasts with normal C strings which arerepesented 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 parsedusing OpenSSL\u0027s own \u0022d2i\u0022 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_STRINGstructure. However, it is possible for applications to directly constructvalid ASN1_STRING structures which do not NUL terminate the byte array bydirectly setting the \u0022data\u0022 and \u0022length\u0022 fields in the ASN1_STRING array.This can also happen by using the ASN1_STRING_set0() function. NumerousOpenSSL functions that print ASN.1 data have been found to assume that theASN1_STRING byte array will be NUL terminated, even though this is notguaranteed for strings that have been directly constructed. Where anapplication requests an ASN.1 structure to be printed, and where that ASN.1structure contains ASN1_STRINGs that have been directly constructed by theapplication without NUL terminating the \u0022data\u0022 field, then a read bufferoverrun can occur. The same thing can also occur during name constraintsprocessing of certificates (for example if a certificate has been directlyconstructed by the application instead of loading it via the OpenSSLparsing functions, and the certificate contains non NUL terminatedASN1_STRING structures). It can also occur in the X509_get1_email(),X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actorcan cause an application to directly construct an ASN1_STRING and thenprocess it through one of the affected OpenSSL functions then this issuecould be hit. This might result in a crash (causing a Denial of Serviceattack). 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).",
  "published": "2021-08-23T17:00:00Z",
  "severity": "Medium",
  "cvss": 7.4,
  "cvssVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
  "epss": 0.48084,
  "epssPercentile": 0.98865,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libssl1.0.0",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.0.2n-1ubuntu5.7",
      "fix": "libssl1.0.0 1.0.2n-1ubuntu5.7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libssl1.0.0-1.0.2n-1ubuntu5.7",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssl1.1",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.1.1-1ubuntu2.1~18.04.13",
      "fix": "libssl1.1 1.1.1-1ubuntu2.1~18.04.13",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libssl1.1-1.1.1-1ubuntu2.1-18.04.13",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssl1.1",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.1.1f-1ubuntu2.8",
      "fix": "libssl1.1 1.1.1f-1ubuntu2.8",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libssl1.1-1.1.1f-1ubuntu2.8",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssl1.1",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "libssl1.1 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libssl1.1-1.1.1l-1ubuntu1",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssl3t64",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "libssl3t64 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-libssl3t64-1.1.1l-1ubuntu1",
      "released": "2021-08-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssl3t64",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "libssl3t64 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-libssl3t64-1.1.1l-1ubuntu1",
      "released": "2021-08-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "RHEL 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "RHSA-2021:5226",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-5226",
      "released": "2021-12-21T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.1.1-1ubuntu2.1~18.04.13",
      "fix": "openssl 1.1.1-1ubuntu2.1~18.04.13",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-openssl-1.1.1-1ubuntu2.1-18.04.13",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.1.1f-1ubuntu2.8",
      "fix": "openssl 1.1.1f-1ubuntu2.8",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-openssl-1.1.1f-1ubuntu2.8",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "openssl 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-openssl-1.1.1l-1ubuntu1",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "openssl 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-openssl-1.1.1l-1ubuntu1",
      "released": "2021-08-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "1.1.1l-1ubuntu1",
      "fix": "openssl 1.1.1l-1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-openssl-1.1.1l-1ubuntu1",
      "released": "2021-08-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "ol 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "ELSA-2021-5226",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-5226",
      "released": "2021-12-22T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl",
      "release": "rocky 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "RLSA-2021:5226",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2021-5226",
      "released": "2021-12-21T09:07:24Z"
    },
    {
      "platform": "linux",
      "product": "openssl-debugsource",
      "release": "ol 8",
      "fixedVersion": "2:1.1.1k-5.ksplice1.el8_5",
      "fix": "ELSA-2021-9632",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-9632",
      "released": "2021-12-23T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-devel",
      "release": "RHEL 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "RHSA-2021:5226",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-5226",
      "released": "2021-12-21T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-devel",
      "release": "ol 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "ELSA-2021-5226",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-5226",
      "released": "2021-12-22T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-libs",
      "release": "RHEL 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "RHSA-2021:5226",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-5226",
      "released": "2021-12-21T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-libs",
      "release": "ol 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "ELSA-2021-5226",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-5226",
      "released": "2021-12-22T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-perl",
      "release": "RHEL 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "RHSA-2021:5226",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-5226",
      "released": "2021-12-21T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-perl",
      "release": "ol 8",
      "fixedVersion": "1:1.1.1k-5.el8_5",
      "fix": "ELSA-2021-5226",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-5226",
      "released": "2021-12-22T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl-static",
      "release": "ol 8",
      "fixedVersion": "2:1.1.1k-5.ksplice1.el8_5",
      "fix": "ELSA-2021-9632",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-9632",
      "released": "2021-12-23T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "openssl1.0",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.0.2n-1ubuntu5.7",
      "fix": "openssl1.0 1.0.2n-1ubuntu5.7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-openssl1.0-1.0.2n-1ubuntu5.7",
      "released": "2021-08-23T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "ovmf",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0~20191122.bd85bf54-2ubuntu3.3",
      "fix": "ovmf 0~20191122.bd85bf54-2ubuntu3.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ovmf-0-20191122.bd85bf54-2ubuntu3.3",
      "released": "2021-09-13T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "ovmf",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2022.02-3ubuntu0.22.04.4",
      "fix": "ovmf 2022.02-3ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ovmf-2022.02-3ubuntu0.22.04.4",
      "released": "2025-08-12T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ovmf-ia32",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2022.02-3ubuntu0.22.04.4",
      "fix": "ovmf-ia32 2022.02-3ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ovmf-ia32-2022.02-3ubuntu0.22.04.4",
      "released": "2025-08-12T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0~20191122.bd85bf54-2ubuntu3.3",
      "fix": "qemu-efi 0~20191122.bd85bf54-2ubuntu3.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-qemu-efi-0-20191122.bd85bf54-2ubuntu3.3",
      "released": "2021-09-13T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2022.02-3ubuntu0.22.04.4",
      "fix": "qemu-efi 2022.02-3ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-qemu-efi-2022.02-3ubuntu0.22.04.4",
      "released": "2025-08-12T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi-aarch64",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0~20191122.bd85bf54-2ubuntu3.3",
      "fix": "qemu-efi-aarch64 0~20191122.bd85bf54-2ubuntu3.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-qemu-efi-aarch64-0-20191122.bd85bf54-2ubuntu3.3",
      "released": "2021-09-13T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi-aarch64",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2022.02-3ubuntu0.22.04.4",
      "fix": "qemu-efi-aarch64 2022.02-3ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-qemu-efi-aarch64-2022.02-3ubuntu0.22.04.4",
      "released": "2025-08-12T08:15:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi-arm",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0~20191122.bd85bf54-2ubuntu3.3",
      "fix": "qemu-efi-arm 0~20191122.bd85bf54-2ubuntu3.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-qemu-efi-arm-0-20191122.bd85bf54-2ubuntu3.3",
      "released": "2021-09-13T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "qemu-efi-arm",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2022.02-3ubuntu0.22.04.4",
      "fix": "qemu-efi-arm 2022.02-3ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-qemu-efi-arm-2022.02-3ubuntu0.22.04.4",
      "released": "2025-08-12T08:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}