{"api_version":"1","generated_at":"2026-04-23T07:00:55+00:00","cve":"CVE-2022-23645","urls":{"html":"https://cve.report/CVE-2022-23645","api":"https://cve.report/api/cve/CVE-2022-23645.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23645","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23645"},"summary":{"title":"CVE-2022-23645","description":"swtpm is a libtpms-based TPM emulator with socket, character device, and Linux CUSE interface. Versions prior to 0.5.3, 0.6.2, and 0.7.1 are vulnerable to out-of-bounds read. A specially crafted header of swtpm's state, where the blobheader's hdrsize indicator has an invalid value, may cause an out-of-bounds access when the byte array representing the state of the TPM is accessed. This will likely crash swtpm or prevent it from starting since the state cannot be understood. Users should upgrade to swtpm v0.5.3, v0.6.2, or v0.7.1 to receive a patch. There are currently no known workarounds.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-02-18 21:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WL735FW266GO4C2JX4CJBOIOB7R7AY5A/","name":"FEDORA-2022-12443a525c","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: swtpm-0.7.1-1.20220218git92a7035.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WL735FW266GO4C2JX4CJBOIOB7R7AY5A/","name":"FEDORA-2022-12443a525c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: swtpm-0.7.1-1.20220218git92a7035.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19","name":"https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19","refsource":"MISC","tags":[],"title":"swtpm: Check header size indicator against expected size (CID 375869) · stefanberger/swtpm@9f74086 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/stefanberger/swtpm/releases/tag/v0.5.3","name":"https://github.com/stefanberger/swtpm/releases/tag/v0.5.3","refsource":"MISC","tags":[],"title":"Release Release of v0.5.3 · stefanberger/swtpm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/stefanberger/swtpm/releases/tag/v0.6.2","name":"https://github.com/stefanberger/swtpm/releases/tag/v0.6.2","refsource":"MISC","tags":[],"title":"Release Release of v0.6.2 · stefanberger/swtpm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw","name":"https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw","refsource":"CONFIRM","tags":[],"title":"Out-of-bounds read in swtpm when a specially crafted header of swtpm's state is given · Advisory · stefanberger/swtpm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/stefanberger/swtpm/releases/tag/v0.7.1","name":"https://github.com/stefanberger/swtpm/releases/tag/v0.7.1","refsource":"MISC","tags":[],"title":"Release Release of v0.7.1 · stefanberger/swtpm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23645","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23645","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"swtpm_project","cpe5":"swtpm","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"swtpm_project","cpe5":"swtpm","cpe6":"0.7.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"swtpm_project","cpe5":"swtpm","cpe6":"0.7.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23645","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"swtpm_project","cpe5":"swtpm","cpe6":"0.7.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-23645","qid":"160248","title":"Oracle Enterprise Linux Security Update for virt:ol and virt-devel:ol (ELSA-2022-7472)"},{"cve":"CVE-2022-23645","qid":"160279","title":"Oracle Enterprise Linux Security Update for swtpm (ELSA-2022-8100)"},{"cve":"CVE-2022-23645","qid":"183072","title":"Debian Security Update for swtpm (CVE-2022-23645)"},{"cve":"CVE-2022-23645","qid":"240837","title":"Red Hat Update for virt:rhel and virt-devel:rhel security (RHSA-2022:7472)"},{"cve":"CVE-2022-23645","qid":"240878","title":"Red Hat Update for swtpm (RHSA-2022:8100)"},{"cve":"CVE-2022-23645","qid":"282460","title":"Fedora Security Update for swtpm (FEDORA-2022-12443a525c)"},{"cve":"CVE-2022-23645","qid":"753281","title":"SUSE Enterprise Linux Security Update for swtpm (SUSE-SU-2022:1297-1)"},{"cve":"CVE-2022-23645","qid":"940836","title":"AlmaLinux Security Update for swtpm (ALSA-2022:8100)"},{"cve":"CVE-2022-23645","qid":"960170","title":"Rocky Linux Security Update for virt:rhel and virt-devel:rhel (RLSA-2022:7472)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-23645","STATE":"PUBLIC","TITLE":"Out-of-bounds read in swtpm"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"swtpm","version":{"version_data":[{"version_value":"< 0.5.3"},{"version_value":">= 0.6.0, < 0.6.2"},{"version_value":"= 0.7.0"}]}}]},"vendor_name":"stefanberger"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"swtpm is a libtpms-based TPM emulator with socket, character device, and Linux CUSE interface. Versions prior to 0.5.3, 0.6.2, and 0.7.1 are vulnerable to out-of-bounds read. A specially crafted header of swtpm's state, where the blobheader's hdrsize indicator has an invalid value, may cause an out-of-bounds access when the byte array representing the state of the TPM is accessed. This will likely crash swtpm or prevent it from starting since the state cannot be understood. Users should upgrade to swtpm v0.5.3, v0.6.2, or v0.7.1 to receive a patch. There are currently no known workarounds."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125: Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw","refsource":"CONFIRM","url":"https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw"},{"name":"https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19","refsource":"MISC","url":"https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19"},{"name":"https://github.com/stefanberger/swtpm/releases/tag/v0.5.3","refsource":"MISC","url":"https://github.com/stefanberger/swtpm/releases/tag/v0.5.3"},{"name":"https://github.com/stefanberger/swtpm/releases/tag/v0.6.2","refsource":"MISC","url":"https://github.com/stefanberger/swtpm/releases/tag/v0.6.2"},{"name":"https://github.com/stefanberger/swtpm/releases/tag/v0.7.1","refsource":"MISC","url":"https://github.com/stefanberger/swtpm/releases/tag/v0.7.1"},{"refsource":"FEDORA","name":"FEDORA-2022-12443a525c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WL735FW266GO4C2JX4CJBOIOB7R7AY5A/"}]},"source":{"advisory":"GHSA-2qgm-8xf4-3hqw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-02-18 21:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc2:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:swtpm_project:swtpm:0.7.0:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.0","versionEndExcluding":"0.6.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*","versionEndExcluding":"0.5.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23645","Ordinal":"226444","Title":"CVE-2022-23645","CVE":"CVE-2022-23645","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23645","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}