Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-24119

In Trusted Firmware Mbed TLS 2.24.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.

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

Source evidence

CVE-2021-24119

core-osv · Original source

Published 14 Jul 2021, 13:15 UTC

In Trusted Firmware Mbed TLS 2.24.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.

osv:CVE-2021-24119
Complete source record
{
  "id": "f687fb892bcdc2430efeb6da75977dade443b196b8ed334182d20ac519be048f",
  "url": "https://osv.dev/vulnerability/CVE-2021-24119",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-24119",
    "summary": "In Trusted Firmware Mbed TLS 2.24.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.",
    "evidence": "osv:CVE-2021-24119",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-24119",
      "aliases": [
        "CVE-2021-24119"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/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": "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.26.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-24119.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:38.574969109Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2025/06/msg00034.html",
        "https://github.com/ARMmbed/mbedtls/releases",
        "https://github.com/UzL-ITS/util-lookup/blob/main/cve-vulnerability-publication.md",
        "https://lists.debian.org/debian-lts-announce/2021/11/msg00021.html",
        "https://lists.debian.org/debian-lts-announce/2022/12/msg00036.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRRVY7DMTX3ECFNZKDYTSFEG5AI2HBC6/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EYJW7HAW3TDV2YMDFYXP3HD6WRQRTLJW/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-24119",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384458,
  "published_at": "2021-07-14T13:15:08.1+00:00"
}