CVE-2023-34152 Command injection in ImageMagick

Critical 9.8 Published Updated

Attackers can execute arbitrary code via OpenBlob in ImageMagick when pipes are enabled, requiring a patch for secure operation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-34152?

CVE-2023-34152 is a critical command injection vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 30 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in ImageMagick. This security flaw cause a remote code execution vulnerability in OpenBlob with --enable-pipes configured.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2023-34152?

It affects 4 products.

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick, Redhat Enterprise Linux.

How do I fix CVE-2023-34152?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-34152 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34152 exists.

Public exploit code: 2 proofs of concept on GitHub.

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-34152, GHSA-47q6-hqqr-mcr3, JLSEC-2026-906, ROOT-OS-DEBIAN-11-CVE-2023-34152, ROOT-OS-DEBIAN-12-CVE-2023-34152, ROOT-OS-DEBIAN-13-CVE-2023-34152 and 1 more.

Is CVE-2023-34152 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free