CVE-2019-1010174 Command injection in The CImg Library
Attackers can execute arbitrary commands by providing a malicious URL to the image loading function in the CImg library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-1010174?
CVE-2019-1010174 is a critical command injection vulnerability in Debian Debian Linux, published on 25 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CImg The CImg Library v.2.3.3 and earlier is affected by: command injection. The impact is: RCE. The component is: load_network() function. The attack vector is: Loading an image from a user-controllable url can lead to command injection, because no string sanitization is done on the url. The fixed version is: v.2.3.4.
Weakness: CWE-77
Which versions are affected by CVE-2019-1010174?
It affects 2 products.
Products include Cimg Cimg Library, Debian Debian Linux.
How do I fix CVE-2019-1010174?
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-2019-1010174 being exploited?
There is no known exploitation of CVE-2019-1010174 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as DEBIAN-CVE-2019-1010174, GHSA-rp8q-pmmm-p726, UBUNTU-CVE-2019-1010174.