{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-23645 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-23645 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 18 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23645 and fix it if it is affected.\n\nWhat it is: CVE-2022-23645 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 18 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23645 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23645/ (Markdown: https://insights.sbomify.com/CVE-2022-23645/index.md)","id":"CVE-2022-23645","markdown":"https://insights.sbomify.com/CVE-2022-23645/index.md","name":"CVE-2022-23645","record":{"aliases":["ALSA-2022:8100","DEBIAN-CVE-2022-23645","GHSA-2qgm-8xf4-3hqw","MGASA-2022-0112","OESA-2022-1576","OESA-2022-2049","RHSA-2022:8100","SUSE-SU-2022:1297-1","openSUSE-SU-2024:11870-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TPM emulator","requires_auth":"none","summary":"An attacker can cause a denial of service in swtpm by providing a specially crafted state header, leading to a crash or startup failure.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"swtpm","vendor":"swtpm_project"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Module for Server Applications 15 SP3","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Out-of-bounds read in swtpm","id":"CVE-2022-23645","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux"],"type":"denial_of_service","year":"2022"},"n_packages":14,"n_references":6,"next":{"headline":"Improper CSP in Image Optimization API for Next.js","id":"CVE-2022-23646"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/almalinux/swtpm","source":"ALSA-2022:8100"},{"ecosystem":"AlmaLinux:9","fixed":["0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-libs","purl":"pkg:rpm/almalinux/swtpm-libs","source":"ALSA-2022:8100"},{"ecosystem":"AlmaLinux:9","fixed":["0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-tools","purl":"pkg:rpm/almalinux/swtpm-tools","source":"ALSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/redhat/swtpm","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-debuginfo","purl":"pkg:rpm/redhat/swtpm-debuginfo","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-debugsource","purl":"pkg:rpm/redhat/swtpm-debugsource","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-libs","purl":"pkg:rpm/redhat/swtpm-libs","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-libs-debuginfo","purl":"pkg:rpm/redhat/swtpm-libs-debuginfo","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-tools","purl":"pkg:rpm/redhat/swtpm-tools","source":"RHSA-2022:8100"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.7.0-3.20211109gitb79fd91.el9"],"introduced":["0"],"last_affected":[],"package":"swtpm-tools-debuginfo","purl":"pkg:rpm/redhat/swtpm-tools-debuginfo","source":"RHSA-2022:8100"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["0.5.3-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/suse/swtpm\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:1297-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","fixed":["0.5.3-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/suse/swtpm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3","source":"SUSE-SU-2022:1297-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["0.5.3-150300.3.3.1"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/opensuse/swtpm\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:1297-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.7.1-1.1"],"introduced":["0"],"last_affected":[],"package":"swtpm","purl":"pkg:rpm/opensuse/swtpm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11870-1"}],"prev":{"headline":"Server-side request forgery in BookWyrm","id":"CVE-2022-23644"},"products":["swtpm"],"published":"2022-02-18","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["stefanberger"]},"summary":"An attacker can cause a denial of service in swtpm by providing a specially crafted state header, leading to a crash or startup failure.","url":"https://insights.sbomify.com/CVE-2022-23645/"}