XPath Injection in Imagemagick
CVE-2020-29599
ImageMagick before 6.9.11-40 and 7.x before 7.0.10-40 mishandles the -authenticate option, which allows setting a password for password-protected PDF files. The user-controlled password was not properly escaped/sanitized and it was therefore possible to inject additional shell commands via coders/pdf.c.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.075 (94.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.075 · newest: 0.075 · change: 0.000
Affected products
- Imagemagick
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html (Third Party Advisory)
- github.com/ImageMagick/ImageMagick/discussions/2851 (Exploit, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/01/msg00010.html (mailing-list, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202101-36 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/03/msg00008.html (mailing-list)
Frequently asked questions
- What is CVE-2020-29599?
- CVE-2020-29599 is a high-severity vulnerability in Imagemagick, classified under XML Injection (Blind XPath Injection). CVSS score: 7.8/10. Published 2020-12-07.
- How severe is CVE-2020-29599?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2020-29599 known to be exploited?
- 11 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.