Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45451

In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45451
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:02 UTC · Revision 1

Source evidence

CVE-2021-45451

core-osv · Original source

Published 21 Dec 2021, 07:15 UTC

In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application.

osv:CVE-2021-45451
Complete source record
{
  "id": "96c9672c15e9d5e3ce6613a724c876c10aa481aa2d0f4d858cf00e272aac3328",
  "url": "https://osv.dev/vulnerability/CVE-2021-45451",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45451",
    "summary": "In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application.",
    "evidence": "osv:CVE-2021-45451",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-45451",
      "aliases": [
        "CVE-2021-45451"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/Mbed-TLS/mbedtls",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d65aeb37349ad1a50e0f6c9b694d4b5290d60e49"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.26.0",
            "mbedtls-2.26.0",
            "v2.24.0",
            "mbedtls-2.24.0",
            "mbedtls-2.19.1",
            "mbedtls-2.22.0d0",
            "mbedtls-2.21.0",
            "mbedtls-2.20.0",
            "mbedtls-2.20.0d0",
            "mbedtls-2.19.0d2",
            "mbedtls-2.19.0",
            "mbedtls-2.19.0d1",
            "mbedtls-2.16.0",
            "mbedtls-2.14.0",
            "mbedtls-2.13.1",
            "mbedtls-2.13.0",
            "mbedtls-2.12.0",
            "mbedtls-2.11.0",
            "mbedtls-2.10.0",
            "mbedtls-2.7.0",
            "mbedtls-2.9.0",
            "mbedtls-2.8.0",
            "mbedtls-2.8.0-rc1",
            "mbedtls-2.7.0-rc1",
            "mbedtls-2.6.0",
            "mbedtls-2.6.0-rc1",
            "mbedtls-2.5.1",
            "mbedtls-2.5.0",
            "mbedtls-2.4.0",
            "mbedtls-2.2.1",
            "yotta-2.3.1",
            "mbedtls-2.3.0",
            "mbedtls-2.2.0",
            "mbedos-release-15-11",
            "mbedos-techcon-oob2",
            "mbedtls-2.1.2",
            "mbedtls-2.1.0",
            "mbedtls-2.1.1",
            "beta-oob-2",
            "mbedtls-2.0.0",
            "polarssl-1.3.9",
            "polarssl-1.3.8",
            "polarssl-1.3.7",
            "polarssl-1.3.6",
            "polarssl-1.3.5",
            "polarssl-1.3.4",
            "polarssl-1.3.3",
            "polarssl-1.3.2",
            "polarssl-1.3.1",
            "polarssl-1.3.0",
            "polarssl-1.3.0-rc0",
            "polarssl-1.2.6",
            "polarssl-1.2.5",
            "polarssl-1.2.4",
            "polarssl-1.2.2",
            "polarssl-1.2.1",
            "polarssl-1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45451.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/mbed-tls/mbedtls",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d65aeb37349ad1a50e0f6c9b694d4b5290d60e49"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "d65aeb37349ad1a50e0f6c9b694d4b5290d60e49"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.26.0",
            "mbedtls-2.26.0",
            "v2.24.0",
            "mbedtls-2.24.0",
            "mbedtls-2.19.1",
            "mbedtls-2.22.0d0",
            "mbedtls-2.21.0",
            "mbedtls-2.20.0",
            "mbedtls-2.20.0d0",
            "mbedtls-2.19.0d2",
            "mbedtls-2.19.0",
            "mbedtls-2.19.0d1",
            "mbedtls-2.16.0",
            "mbedtls-2.14.0",
            "mbedtls-2.13.1",
            "mbedtls-2.13.0",
            "mbedtls-2.12.0",
            "mbedtls-2.11.0",
            "mbedtls-2.10.0",
            "mbedtls-2.7.0",
            "mbedtls-2.9.0",
            "mbedtls-2.8.0",
            "mbedtls-2.8.0-rc1",
            "mbedtls-2.7.0-rc1",
            "mbedtls-2.6.0",
            "mbedtls-2.6.0-rc1",
            "mbedtls-2.5.1",
            "mbedtls-2.5.0",
            "mbedtls-2.4.0",
            "mbedtls-2.2.1",
            "yotta-2.3.1",
            "mbedtls-2.3.0",
            "mbedtls-2.2.0",
            "mbedos-release-15-11",
            "mbedos-techcon-oob2",
            "mbedtls-2.1.2",
            "mbedtls-2.1.0",
            "mbedtls-2.1.1",
            "beta-oob-2",
            "mbedtls-2.0.0",
            "polarssl-1.3.9",
            "polarssl-1.3.8",
            "polarssl-1.3.7",
            "polarssl-1.3.6",
            "polarssl-1.3.5",
            "polarssl-1.3.4",
            "polarssl-1.3.3",
            "polarssl-1.3.2",
            "polarssl-1.3.1",
            "polarssl-1.3.0",
            "polarssl-1.3.0-rc0",
            "polarssl-1.2.6",
            "polarssl-1.2.5",
            "polarssl-1.2.4",
            "polarssl-1.2.2",
            "polarssl-1.2.1",
            "polarssl-1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45451.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:07.623074367Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IL66WKJGXY5AXMTFE7QDMGL3RIBD6PX5/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TALJHOYAYSUJTLN6BYGLO4YJGNZUY74W/",
        "https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "36"
                  },
                  {
                    "last_affected": "36"
                  },
                  {
                    "introduced": "37"
                  },
                  {
                    "last_affected": "37"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-45451",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386933,
  "published_at": "2021-12-21T07:15:06.86+00:00"
}