CVE-2024-36472 Code injection in n/a
An attacker controlling the local network can force GNOME Shell to load untrusted JavaScript, potentially executing code or causing resource exhaustion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-36472?
CVE-2024-36472 is a medium-severity code injection vulnerability in n/a, published on 28 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In GNOME Shell through 45.7, a portal helper can be launched automatically (without user confirmation) based on network responses provided by an adversary (e.g., an adversary who controls the local Wi-Fi network), and subsequently loads untrusted JavaScript code, which may lead to resource consumption or other impacts depending on the JavaScript code's behavior.
Weakness: CWE-346
Which versions are affected by CVE-2024-36472?
Linux distribution packages (40)
gnome-shell AlmaLinux:8 | All versions | 3.32.2-56.el8_10 |
gnome-classic-session AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell AlmaLinux:9 | All versions | 40.10-21.el9 |
gnome-shell-extension-apps-menu AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-auto-move-windows AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-classification-banner AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-common AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-custom-menu AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-dash-to-dock AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-dash-to-panel AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-desktop-icons AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-drive-menu AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-gesture-inhibitor AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-heads-up-display AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-launch-new-instance AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-native-window-placement AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-panel-favorites AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-places-menu AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-screenshot-window-sizer AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-systemMonitor AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-top-icons AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-updates-dialog AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-user-theme AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-window-list AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-windowsNavigator AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell-extension-workspace-indicator AlmaLinux:9 | All versions | 40.7-19.el9 |
gnome-shell Red Hat:enterprise_linux:8::appstream | All versions | 0:3.32.2-56.el8_10 |
gnome-shell-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:3.32.2-56.el8_10 |
gnome-shell-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:3.32.2-56.el8_10 |
gnome-shell Red Hat:enterprise_linux:9::appstream | All versions | 0:40.10-21.el9 |
gnome-shell-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:40.10-21.el9 |
gnome-shell-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:40.10-21.el9 |
gnome-shell Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.10-19.el9_4 |
gnome-shell-debuginfo Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.10-19.el9_4 |
gnome-shell-debugsource Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.10-19.el9_4 |
gnome-shell Rocky Linux:8 | All versions | 0:3.32.2-56.el8_10 |
gnome-shell-extensions Rocky Linux:9 | All versions | 0:40.7-19.el9 |
gnome-shell SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | All versions | 41.9-150400.3.11.1 |
gnome-shell SUSE:Linux Enterprise Server 12 SP5 | All versions | 3.20.4-77.28.1 |
gnome-shell SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 3.20.4-77.28.1 |
How do I fix CVE-2024-36472?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-36472 being exploited?
There is no known exploitation of CVE-2024-36472 in the wild and no public exploit code.
Sources
Also known as ALSA-2024:5298, ALSA-2024:9114, CLSA-2024-1735300286, CLSA-2026-1792529411, CLSA-2026-1792529813, DEBIAN-CVE-2024-36472 and 13 more.