Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3623

A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.

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

Source evidence

CVE-2021-3623

core-osv · Original source

Published 2 Mar 2022, 23:15 UTC

A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.

osv:CVE-2021-3623
Complete source record
{
  "id": "a8f79c346e3c17210b7fe308d16ba7a3706989d69ea22f3bd4e35da7717f8002",
  "url": "https://osv.dev/vulnerability/CVE-2021-3623",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3623",
    "summary": "A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.",
    "evidence": "osv:CVE-2021-3623",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3623",
      "aliases": [
        "CVE-2021-3623"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/stefanberger/libtpms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bc59931b2b4c6abb7678e7f1a44be9d1dd0fc06d"
                },
                {
                  "introduced": "d061d8065b74a16d918a007e844b1ab66f4bdb8b"
                },
                {
                  "fixed": "4893c23e3bb02560588150d3f11575c2916eb759"
                },
                {
                  "introduced": "3fd4b94903061e156e64dc6a738237df2aebba09"
                },
                {
                  "fixed": "a594c4692a9623469cc8c3556b7c3ae6bae42948"
                },
                {
                  "fixed": "2e6173c"
                },
                {
                  "fixed": "2f30d62"
                },
                {
                  "fixed": "7981d9a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libtpms_project:libtpms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:libtpms_project:libtpms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.7.0"
                      },
                      {
                        "fixed": "0.7.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:libtpms_project:libtpms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.8.0"
                      },
                      {
                        "fixed": "0.8.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2e6173c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2f30d62"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7981d9a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.4",
            "v0.8.3",
            "v0.7.7",
            "v0.8.2",
            "v0.8.1",
            "v0.7.6",
            "v0.6.3",
            "v0.8.0",
            "v0.7.5",
            "v0.7.4",
            "v0.7.3",
            "v0.6.2",
            "v0.7.2",
            "v0.7.1",
            "v0.6.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.2.1",
            "v0.5.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3623.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:47.567052535Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7KZSYMTE7Z4BBEZUWO2DIMQDWMGEP46/",
        "https://github.com/stefanberger/libtpms/pull/223",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1976806",
        "https://github.com/stefanberger/libtpms/commit/2e6173c",
        "https://github.com/stefanberger/libtpms/commit/2f30d62",
        "https://github.com/stefanberger/libtpms/commit/7981d9a"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3623",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386138,
  "published_at": "2022-03-02T23:15:08.623+00:00"
}