CVE-2022-2211 Denial of service in libguestfs
A flaw in libguestfs allows attackers to cause a denial of service via the get_keys function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2211?
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.
Official 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.
Weakness: CWE-120
Which versions are affected by CVE-2022-2211?
It affects 2 products.
Linux distribution packages (40)
guestfs-tools AlmaLinux:9 | All versions | 1.48.2-5.el9 |
libguestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-appliance AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-bash-completion AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-devel AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-gobject AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-gobject-devel AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-inspect-icons AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-man-pages-ja AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-man-pages-uk AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-rescue AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-rsync AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
libguestfs-xfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
lua-guestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
ocaml-libguestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
ocaml-libguestfs-devel AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
perl-Sys-Guestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
php-libguestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
python3-libguestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
ruby-libguestfs AlmaLinux:9 | All versions | 1:1.48.4-2.el9.alma |
virt-v2v AlmaLinux:9 | All versions | 1:2.0.7-6.el9 |
virt-v2v-bash-completion AlmaLinux:9 | All versions | 1:2.0.7-6.el9 |
virt-v2v-man-pages-ja AlmaLinux:9 | All versions | 1:2.0.7-6.el9 |
virt-v2v-man-pages-uk AlmaLinux:9 | All versions | 1:2.0.7-6.el9 |
virt-win-reg AlmaLinux:9 | All versions | 1.48.2-5.el9 |
guestfs-tools Red Hat:enterprise_linux:9::appstream | All versions | 0:1.48.2-5.el9 |
guestfs-tools-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:1.48.2-5.el9 |
guestfs-tools-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:1.48.2-5.el9 |
libguestfs Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-appliance Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-bash-completion Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-gobject-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-inspect-icons Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-rescue Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-rescue-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-rsync Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
libguestfs-xfs Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
lua-guestfs-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:1.48.4-2.el9 |
Products include Libguestfs Libguestfs, Redhat Enterprise Linux.
How do I fix CVE-2022-2211?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-2211 being exploited?
There is no known exploitation of CVE-2022-2211 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as ALSA-2022:7958, ALSA-2022:7959, ALSA-2022:7968, DEBIAN-CVE-2022-2211, GHSA-8rvm-f29f-fjx6, RHSA-2022:7958 and 11 more.