CVE-2019-12921 Path traversal in n/a
Remote attackers can read arbitrary files via crafted SVG images due to improper handling of text filenames in GraphicsMagick.
- 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-2019-12921?
CVE-2019-12921 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 18 Mar 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
In GraphicsMagick before 1.3.32, the text filename component allows remote attackers to read arbitrary files via a crafted image because of TranslateTextEx for SVG.
Weakness: CWE-77
Which versions are affected by CVE-2019-12921?
It affects 4 products.
Products include Debian Debian Linux, Graphicsmagick Graphicsmagick, Opensuse Backports Sle, Opensuse Leap.
How do I fix CVE-2019-12921?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-12921 being exploited?
There is no known exploitation of CVE-2019-12921 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2019-12921, DLA-2152-1, GHSA-5vwc-wxpp-mxp8, UBUNTU-CVE-2019-12921.