CVE-2020-24972 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code in Kleopatra by exploiting unsafe handling of openpgp4fpr URLs and Qt command-line options.

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-2020-24972?

CVE-2020-24972 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 29 Aug 2020. 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

The Kleopatra component before 3.1.12 (and before 20.07.80) for GnuPG allows remote attackers to execute arbitrary code because openpgp4fpr: URLs are supported without safe handling of command-line options. The Qt platformpluginpath command-line option can be used to load an arbitrary DLL.

Weakness: CWE-116

Which versions are affected by CVE-2020-24972?

It affects 4 products.

Linux distribution packages (2)
kleopatra SUSE:Package Hub 15 SP1All versions18.12.3-bp151.3.3.1
kleopatra openSUSE:Leap 15.1All versions18.12.3-lp151.2.4.1

Products include Fedoraproject Fedora, Kleopatra Project Kleopatra, Opensuse Backports Sle, Opensuse Leap.

How do I fix CVE-2020-24972?

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-2020-24972 being exploited?

There is no known exploitation of CVE-2020-24972 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-24972, GHSA-p3w5-fpg6-wrh9, MGASA-2020-0425, UBUNTU-CVE-2020-24972, openSUSE-SU-2020:1723-1, openSUSE-SU-2020:1754-1.

Is CVE-2020-24972 in your software?

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

Check your SBOMs for free