{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "36"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "37"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.22.0"
              },
              {
                "fixed": "2.28.0"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "ac15f842a5bb8d4cbceb7175c5d7ab50d96173c0"
            },
            {
              "fixed": "8b3f26a5ac38d4fdccbc5c5366229f3e01dafcc0"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "8df2f8e7b9c7bb9390ac74bb7bace27edca81a2b"
            }
          ],
          "repo": "https://github.com/armmbed/mbedtls",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8b3f26a5ac38d4fdccbc5c5366229f3e01dafcc0"
            },
            {
              "fixed": "d65aeb37349ad1a50e0f6c9b694d4b5290d60e49"
            }
          ],
          "repo": "https://github.com/mbed-tls/mbedtls",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In Mbed TLS before 2.28.0 and 3.x before 3.1.0, psa_cipher_generate_iv and psa_cipher_encrypt allow policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application.",
  "id": "CVE-2021-45450",
  "modified": "2026-04-01T23:10:34.662433466Z",
  "published": "2021-12-21T07:15:06.727Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202301-08"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ARMmbed/mbedtls/releases/tag/v3.1.0"
    },
    {
      "type": "ARTICLE",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TALJHOYAYSUJTLN6BYGLO4YJGNZUY74W/"
    },
    {
      "type": "ARTICLE",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IL66WKJGXY5AXMTFE7QDMGL3RIBD6PX5/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}