CVE-2023-1017 (GCVE-0-2023-1017)

Vulnerability from cvelistv5 – Published: 2023-02-28 18:02 – Updated: 2025-11-04 19:14
VLAI
Title
TPM2.0 vulnerable to out-of-bounds write
Summary
An out-of-bounds write vulnerability exists in TPM2.0's Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context.
Assigner
certcc CNA under the mitre root
CNA scorecard E 42/100 over 166 records in the last 180 days details
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-04T19:14:38.421Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "TCG TPM2.0 Errata Version 1.4",
            "tags": [
              "x_transferred"
            ],
            "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
          },
          {
            "name": "TCG Security Advisories",
            "tags": [
              "x_transferred"
            ],
            "url": "https://trustedcomputinggroup.org/about/security/"
          },
          {
            "name": "CERT/CC Advisory VU#782720",
            "tags": [
              "x_transferred"
            ],
            "url": "https://kb.cert.org/vuls/id/782720"
          },
          {
            "url": "https://www.kb.cert.org/vuls/id/782720"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "TPM2.0",
          "vendor": "Trusted Computing Group",
          "versions": [
            {
              "status": "affected",
              "version": "1.59"
            }
          ]
        },
        {
          "product": "TPM2.0",
          "vendor": "Trusted Computing Group",
          "versions": [
            {
              "status": "affected",
              "version": "1.38"
            }
          ]
        },
        {
          "product": "TPM2.0",
          "vendor": "Trusted Computing Group",
          "versions": [
            {
              "status": "affected",
              "version": "1.19"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Francisco Falcon of Quarkslab"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "An out-of-bounds write vulnerability exists in TPM2.0\u0027s Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-787 Out-of-bounds Write",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-02-28T19:09:18.722Z",
        "orgId": "37e5125f-f79b-445b-8fad-9564f167944b",
        "shortName": "certcc"
      },
      "references": [
        {
          "name": "TCG TPM2.0 Errata Version 1.4 ",
          "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
        },
        {
          "name": "TCG Security Advisories",
          "url": "https://trustedcomputinggroup.org/about/security/"
        },
        {
          "name": "CERT/CC Advisory VU#782720",
          "url": "https://kb.cert.org/vuls/id/782720"
        }
      ],
      "source": {
        "discovery": "external"
      },
      "title": "TPM2.0 vulnerable to out-of-bounds write",
      "x_generator": {
        "engine": "VINCE 2.0.6",
        "env": "prod",
        "origin": "https://cveawg.mitre.org/api/cve/CVE-2023-1017"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "37e5125f-f79b-445b-8fad-9564f167944b",
    "assignerShortName": "certcc",
    "cveId": "CVE-2023-1017",
    "datePublished": "2023-02-28T18:02:27.064Z",
    "dateReserved": "2023-02-24T16:02:22.626Z",
    "dateUpdated": "2025-11-04T19:14:38.421Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-1017",
      "date": "2026-11-01",
      "epss": "0.01379",
      "percentile": "0.72107"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.16:*:*:*:*:*:*",
                  "matchCriteriaId": "AC453113-CAE8-44B0-8306-7BB854B77EB4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.38:*:*:*:*:*:*",
                  "matchCriteriaId": "6F43ED59-0C7E-4BBB-8931-4033AEC36269",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.59:*:*:*:*:*:*",
                  "matchCriteriaId": "2FC8BA48-73AA-483B-9276-A0605B15F22F",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "3FE6559F-B4C0-4188-86CB-4DB6FBB85A5C",
                  "versionEndExcluding": "10.0.10240.19805",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "93CEF0C6-6B6E-4157-A763-89F570FE0AB7",
                  "versionEndExcluding": "10.0.14393.5786",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "3001E324-7A3C-4EEB-86DC-E79471F752BD",
                  "versionEndExcluding": "10.0.17763.4131",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "579AE0F1-E226-4504-9BF8-05E7BAE682D7",
                  "versionEndExcluding": "10.0.19042.2728",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "D41F5E5B-D344-41B1-A160-8118DDB623C3",
                  "versionEndExcluding": "10.0.19044.2728",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "BA59AB71-F8C7-49B0-AD2F-F9C00D82C85A",
                  "versionEndExcluding": "10.0.19045.2728",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "6D06089A-31F7-44C7-98CB-216ABAD280A4",
                  "versionEndExcluding": "10.0.22000.1696",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "7BB45E5C-C74C-46B1-BE64-4EF90075A3CC",
                  "versionEndExcluding": "10.0.22621.1413",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "40EFB742-9414-4585-A71E-4316D488BFA7",
                  "versionEndExcluding": "10.0.14393.5786",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D19233CA-3830-499D-A4C0-2C023C8AD700",
                  "versionEndExcluding": "10.0.17763.4131",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BA73D25B-EB4C-4493-9C79-4F4E181FF95B",
                  "versionEndExcluding": "10.0.20348.1607",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "An out-of-bounds write vulnerability exists in TPM2.0\u0027s Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context."
        }
      ],
      "id": "CVE-2023-1017",
      "lastModified": "2024-11-21T07:38:17.637",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.8,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2023-02-28T19:15:16.657",
      "references": [
        {
          "source": "cret@cert.org",
          "tags": [
            "Third Party Advisory",
            "US Government Resource"
          ],
          "url": "https://kb.cert.org/vuls/id/782720"
        },
        {
          "source": "cret@cert.org",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://trustedcomputinggroup.org/about/security/"
        },
        {
          "source": "cret@cert.org",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Third Party Advisory",
            "US Government Resource"
          ],
          "url": "https://kb.cert.org/vuls/id/782720"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://trustedcomputinggroup.org/about/security/"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
        }
      ],
      "sourceIdentifier": "cret@cert.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-787"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "TPM2.0",
                "vendor": "Trusted Computing Group",
                "versions": [
                  {
                    "status": "affected",
                    "version": "1.59"
                  }
                ]
              },
              {
                "product": "TPM2.0",
                "vendor": "Trusted Computing Group",
                "versions": [
                  {
                    "status": "affected",
                    "version": "1.38"
                  }
                ]
              },
              {
                "product": "TPM2.0",
                "vendor": "Trusted Computing Group",
                "versions": [
                  {
                    "status": "affected",
                    "version": "1.19"
                  }
                ]
              }
            ],
            "source": "cret@cert.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.16:*:*:*:*:*:*",
                    "matchCriteriaId": "AC453113-CAE8-44B0-8306-7BB854B77EB4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.38:*:*:*:*:*:*",
                    "matchCriteriaId": "6F43ED59-0C7E-4BBB-8931-4033AEC36269",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:trustedcomputinggroup:trusted_platform_module:2.0:revision_1.59:*:*:*:*:*:*",
                    "matchCriteriaId": "2FC8BA48-73AA-483B-9276-A0605B15F22F",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "3FE6559F-B4C0-4188-86CB-4DB6FBB85A5C",
                    "versionEndExcluding": "10.0.10240.19805",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "93CEF0C6-6B6E-4157-A763-89F570FE0AB7",
                    "versionEndExcluding": "10.0.14393.5786",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "3001E324-7A3C-4EEB-86DC-E79471F752BD",
                    "versionEndExcluding": "10.0.17763.4131",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "579AE0F1-E226-4504-9BF8-05E7BAE682D7",
                    "versionEndExcluding": "10.0.19042.2728",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "D41F5E5B-D344-41B1-A160-8118DDB623C3",
                    "versionEndExcluding": "10.0.19044.2728",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "BA59AB71-F8C7-49B0-AD2F-F9C00D82C85A",
                    "versionEndExcluding": "10.0.19045.2728",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "6D06089A-31F7-44C7-98CB-216ABAD280A4",
                    "versionEndExcluding": "10.0.22000.1696",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "7BB45E5C-C74C-46B1-BE64-4EF90075A3CC",
                    "versionEndExcluding": "10.0.22621.1413",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "40EFB742-9414-4585-A71E-4316D488BFA7",
                    "versionEndExcluding": "10.0.14393.5786",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D19233CA-3830-499D-A4C0-2C023C8AD700",
                    "versionEndExcluding": "10.0.17763.4131",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BA73D25B-EB4C-4493-9C79-4F4E181FF95B",
                    "versionEndExcluding": "10.0.20348.1607",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "An out-of-bounds write vulnerability exists in TPM2.0\u0027s Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context."
          }
        ],
        "id": "CVE-2023-1017",
        "lastModified": "2026-06-17T05:26:54.103",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2023-02-28T19:15:16.657",
        "references": [
          {
            "source": "cret@cert.org",
            "tags": [
              "Third Party Advisory",
              "US Government Resource"
            ],
            "url": "https://kb.cert.org/vuls/id/782720"
          },
          {
            "source": "cret@cert.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://trustedcomputinggroup.org/about/security/"
          },
          {
            "source": "cret@cert.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory",
              "US Government Resource"
            ],
            "url": "https://kb.cert.org/vuls/id/782720"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://trustedcomputinggroup.org/about/security/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://www.kb.cert.org/vuls/id/782720"
          }
        ],
        "sourceIdentifier": "cret@cert.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-787"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T06:33:11+00:00",
      "cve": "CVE-2023-1017",
      "id": "CVE-2023-1017",
      "initial_release_date": "2023-02-28T00:00:00+00:00",
      "product_status:fixed": "951",
      "product_status:known_affected": "12",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "tpm: TCG TPM2.0 implementations vulnerable to memory corruption",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-1017.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-01T01:22:56Z",
      "cve": "CVE-2023-1017",
      "id": "CVE-2023-1017",
      "initial_release_date": "2023-03-09T03:53:22Z",
      "product_status:recommended": "66",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-1017",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-1017.json",
      "version": "25"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.