CVE-2021-45463 Command injection in n/a
An attacker can execute arbitrary shell commands via unescaped pathnames in GEGL's ImageMagick fallback, requiring specific build configurations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-45463?
CVE-2021-45463 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 23 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
load_cache in GEGL before 0.4.34 allows shell expansion when a pathname in a constructed command line is not escaped or filtered. This is caused by use of the system library function for execution of the ImageMagick convert fallback in magick-load. NOTE: GEGL releases before 0.4.34 are used in GIMP releases before 2.10.30; however, this does not imply that GIMP builds enable the vulnerable feature.
Which versions are affected by CVE-2021-45463?
It affects 4 products.
Linux distribution packages (40)
gegl04 AlmaLinux:8 | All versions | 0.4.4-6.el8_5.2 |
gegl04-devel AlmaLinux:8 | All versions | 0.4.4-6.el8_5.2 |
gegl Red Hat:enterprise_linux:7::client | All versions | 0:0.2.0-19.el7_9.1 |
gegl-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:0.2.0-19.el7_9.1 |
gegl-devel Red Hat:enterprise_linux:7::client | All versions | 0:0.2.0-19.el7_9.1 |
gegl Red Hat:enterprise_linux:7::server | All versions | 0:0.2.0-19.el7_9.1 |
gegl-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:0.2.0-19.el7_9.1 |
gegl-devel Red Hat:enterprise_linux:7::server | All versions | 0:0.2.0-19.el7_9.1 |
gegl Red Hat:enterprise_linux:7::workstation | All versions | 0:0.2.0-19.el7_9.1 |
gegl-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:0.2.0-19.el7_9.1 |
gegl-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:0.2.0-19.el7_9.1 |
gegl04 Red Hat:enterprise_linux:8::appstream | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-tools-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-devel Red Hat:enterprise_linux:8::crb | All versions | 0:0.4.4-6.el8_5.2 |
gegl04-tools-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.4.4-6.el8_5.2 |
gegl04 Red Hat:rhel_eus:8.2::appstream | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-debuginfo Red Hat:rhel_eus:8.2::appstream | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-debugsource Red Hat:rhel_eus:8.2::appstream | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-tools-debuginfo Red Hat:rhel_eus:8.2::appstream | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-debuginfo Red Hat:rhel_eus:8.2::crb | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-debugsource Red Hat:rhel_eus:8.2::crb | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-devel Red Hat:rhel_eus:8.2::crb | All versions | 0:0.4.4-6.el8_2.1 |
gegl04-tools-debuginfo Red Hat:rhel_eus:8.2::crb | All versions | 0:0.4.4-6.el8_2.1 |
gegl04 Red Hat:rhel_eus:8.4::appstream | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-debuginfo Red Hat:rhel_eus:8.4::appstream | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-debugsource Red Hat:rhel_eus:8.4::appstream | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-tools-debuginfo Red Hat:rhel_eus:8.4::appstream | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-debuginfo Red Hat:rhel_eus:8.4::crb | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-debugsource Red Hat:rhel_eus:8.4::crb | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-devel Red Hat:rhel_eus:8.4::crb | All versions | 0:0.4.4-6.el8_4.1 |
gegl04-tools-debuginfo Red Hat:rhel_eus:8.4::crb | All versions | 0:0.4.4-6.el8_4.1 |
gegl04 Rocky Linux:8 | All versions | 0:0.4.4-6.el8_5.2 |
gegl SUSE:Linux Enterprise Module for Package Hub 15 SP3 | All versions | 0.4.16-3.3.1 |
gegl SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 0.2.0-15.6.1 |
gegl SUSE:Linux Enterprise Workstation Extension 12 SP5 | All versions | 0.2.0-15.6.1 |
gegl SUSE:Linux Enterprise Workstation Extension 15 SP2 | All versions | 0.3.34-3.3.1 |
Products include Fedoraproject Fedora, Gegl Gegl, Gimp Gimp, Redhat Enterprise Linux.
How do I fix CVE-2021-45463?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-45463 being exploited?
There is no known exploitation of CVE-2021-45463 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2022:0177, CLEANSTART-2024-VE53254, CLSA-2026-1791563692, DEBIAN-CVE-2021-45463, GHSA-g9gv-9646-jvp8, MGASA-2022-0003 and 14 more.