Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3565

A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a fixed AES key for the inner wrapper, potentially allowing a MITM attacker to unwrap the inner portion and reveal the key being imported. The highest threat from this vulnerability is to data confidentiality.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3565
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:32 UTC · Revision 1

Source evidence

CVE-2021-3565

core-osv · Original source

Published 4 Jun 2021, 12:15 UTC

A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a fixed AES key for the inner wrapper, potentially allowing a MITM attacker to unwrap the inner portion and reveal the key being imported. The highest threat from this vulnerability is to data confidentiality.

osv:CVE-2021-3565
Complete source record
{
  "id": "654f85f0d28b98f3c2c4483a1303965f1ec9033263aec65c4e00c3fad6bf9f32",
  "url": "https://osv.dev/vulnerability/CVE-2021-3565",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3565",
    "summary": "A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a fixed AES key for the inner wrapper, potentially allowing a MITM attacker to unwrap the inner portion and reveal the key being imported. The highest threat from this vulnerability is to data confidentiality.",
    "evidence": "osv:CVE-2021-3565",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3565",
      "aliases": [
        "CVE-2021-3565"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tpm2-software/tpm2-tools",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4bcbebc852d9849c9f1784880db2accc2eb1a3bf"
                },
                {
                  "introduced": "6b6d46de1b30747405cbc0a4ed9759f9bceb9583"
                },
                {
                  "fixed": "6976f7a862c4215704d9b824d58d48be4048bd2a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tpm2-tools_project:tpm2-tools:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:tpm2-tools_project:tpm2-tools:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.1"
                      },
                      {
                        "fixed": "5.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.3.2-rc0",
            "5.1.1-rc0",
            "5.1",
            "4.3.1",
            "4.3.1-rc0",
            "4.2.1",
            "4.3.0",
            "4.3.0-rc1",
            "4.3.0-rc0",
            "4.2.1-rc1",
            "4.2.1-rc0",
            "4.2",
            "4.2-rc1",
            "4.2-RC0",
            "4.1.1-RC1",
            "4.1.1-RC0",
            "4.1",
            "4.1-rc1",
            "4.1-rc0",
            "4.0",
            "4.0-rc2",
            "4.0-rc0",
            "2.0.0",
            "v1.1.0",
            "2.0.0-beta_0",
            "v1.1-beta_1",
            "v1.1-beta_0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3565.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:30.175020110Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESY6HRYUKR5ZG2K5QAJQC5S6HMKZMFK7/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XK5M7I66PBXSN663TSLAZ3V6TWWFCV7C/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1964427"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "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"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3565",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432512,
  "published_at": "2021-06-04T12:15:07.557+00:00"
}