{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-2211 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-2211 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 12 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-2211 and fix it if it is affected.\n\nWhat it is: CVE-2022-2211 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 12 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-2211 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. 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-2211/ (Markdown: https://insights.sbomify.com/CVE-2022-2211/index.md)","id":"CVE-2022-2211","markdown":"https://insights.sbomify.com/CVE-2022-2211/index.md","name":"CVE-2022-2211","record":{"aliases":["ALSA-2022:7958","ALSA-2022:7959","ALSA-2022:7968","DEBIAN-CVE-2022-2211","GHSA-8rvm-f29f-fjx6","RHSA-2022:7958","RHSA-2022:7959","RHSA-2022:7968","RLSA-2022:7958","RLSA-2022:7959","RLSA-2022:7968","SUSE-SU-2022:2581-1","SUSE-SU-2022:4308-1","UBUNTU-CVE-2022-2211","openSUSE-SU-2024:12164-1","openSUSE-SU-2024:12165-1","openSUSE-SU-2024:12166-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libguestfs library","requires_auth":"none","summary":"A flaw in libguestfs allows attackers to cause a denial of service via the get_keys function.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libguestfs","vendor":"libguestfs"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"A vulnerability was found in libguestfs. This issue occurs while calculating the greatest possible number of matching keys in the get_keys() function. This flaw leads to a denial of service, either by mistake or malicious actor.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:9","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP4","openSUSE:Leap 15.4","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":"Denial of service in libguestfs","id":"CVE-2022-2211","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"denial_of_service","year":"2022"},"n_packages":83,"n_references":1,"next":{"headline":"SourceCodester Library Management System /card/index.php unrestricted upload","id":"CVE-2022-2212"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["1.48.2-5.el9"],"introduced":["0"],"last_affected":[],"package":"guestfs-tools","purl":"pkg:rpm/almalinux/guestfs-tools","source":"ALSA-2022:7959"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/almalinux/libguestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/almalinux/libguestfs-appliance","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/almalinux/libguestfs-bash-completion","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-devel","purl":"pkg:rpm/almalinux/libguestfs-devel","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject","purl":"pkg:rpm/almalinux/libguestfs-gobject","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-devel","purl":"pkg:rpm/almalinux/libguestfs-gobject-devel","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/almalinux/libguestfs-inspect-icons","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-ja","purl":"pkg:rpm/almalinux/libguestfs-man-pages-ja","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-uk","purl":"pkg:rpm/almalinux/libguestfs-man-pages-uk","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/almalinux/libguestfs-rescue","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/almalinux/libguestfs-rsync","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/almalinux/libguestfs-xfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"lua-guestfs","purl":"pkg:rpm/almalinux/lua-guestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"ocaml-libguestfs","purl":"pkg:rpm/almalinux/ocaml-libguestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"ocaml-libguestfs-devel","purl":"pkg:rpm/almalinux/ocaml-libguestfs-devel","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"perl-Sys-Guestfs","purl":"pkg:rpm/almalinux/perl-Sys-Guestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"php-libguestfs","purl":"pkg:rpm/almalinux/php-libguestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"python3-libguestfs","purl":"pkg:rpm/almalinux/python3-libguestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.48.4-2.el9.alma"],"introduced":["0"],"last_affected":[],"package":"ruby-libguestfs","purl":"pkg:rpm/almalinux/ruby-libguestfs","source":"ALSA-2022:7958"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.0.7-6.el9"],"introduced":["0"],"last_affected":[],"package":"virt-v2v","purl":"pkg:rpm/almalinux/virt-v2v","source":"ALSA-2022:7968"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.0.7-6.el9"],"introduced":["0"],"last_affected":[],"package":"virt-v2v-bash-completion","purl":"pkg:rpm/almalinux/virt-v2v-bash-completion","source":"ALSA-2022:7968"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.0.7-6.el9"],"introduced":["0"],"last_affected":[],"package":"virt-v2v-man-pages-ja","purl":"pkg:rpm/almalinux/virt-v2v-man-pages-ja","source":"ALSA-2022:7968"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.0.7-6.el9"],"introduced":["0"],"last_affected":[],"package":"virt-v2v-man-pages-uk","purl":"pkg:rpm/almalinux/virt-v2v-man-pages-uk","source":"ALSA-2022:7968"},{"ecosystem":"AlmaLinux:9","fixed":["1.48.2-5.el9"],"introduced":["0"],"last_affected":[],"package":"virt-win-reg","purl":"pkg:rpm/almalinux/virt-win-reg","source":"ALSA-2022:7959"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.48.2-5.el9"],"introduced":["0"],"last_affected":[],"package":"guestfs-tools","purl":"pkg:rpm/redhat/guestfs-tools","source":"RHSA-2022:7959"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.48.2-5.el9"],"introduced":["0"],"last_affected":[],"package":"guestfs-tools-debuginfo","purl":"pkg:rpm/redhat/guestfs-tools-debuginfo","source":"RHSA-2022:7959"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.48.2-5.el9"],"introduced":["0"],"last_affected":[],"package":"guestfs-tools-debugsource","purl":"pkg:rpm/redhat/guestfs-tools-debugsource","source":"RHSA-2022:7959"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/redhat/libguestfs","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/redhat/libguestfs-appliance","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/redhat/libguestfs-bash-completion","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debuginfo","purl":"pkg:rpm/redhat/libguestfs-debuginfo","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debugsource","purl":"pkg:rpm/redhat/libguestfs-debugsource","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-debuginfo","purl":"pkg:rpm/redhat/libguestfs-gobject-debuginfo","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/redhat/libguestfs-inspect-icons","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/redhat/libguestfs-rescue","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue-debuginfo","purl":"pkg:rpm/redhat/libguestfs-rescue-debuginfo","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/redhat/libguestfs-rsync","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/redhat/libguestfs-xfs","source":"RHSA-2022:7958"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.48.4-2.el9"],"introduced":["0"],"last_affected":[],"package":"lua-guestfs-debuginfo","purl":"pkg:rpm/redhat/lua-guestfs-debuginfo","source":"RHSA-2022:7958"}],"prev":{"headline":"Out-of-bounds Write in vim/vim","id":"CVE-2022-2210"},"products":["libguestfs"],"published":"2022-07-12","related":[{"cvss_score":6.8,"headline":"Race condition in n/a","id":"CVE-2013-4419","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":4.7,"headline":"Information disclosure in n/a","id":"CVE-2010-3851","kev_date_added":null,"published":"2010-11-04"},{"cvss_score":4.3,"headline":"Use after free in n/a","id":"CVE-2013-2124","kev_date_added":null,"published":"2014-05-27"},{"cvss_score":2.1,"headline":"Information disclosure in n/a","id":"CVE-2012-2690","kev_date_added":null,"published":"2012-06-29"}],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A flaw in libguestfs allows attackers to cause a denial of service via the get_keys function.","url":"https://insights.sbomify.com/CVE-2022-2211/"}