Vulnerability · Published Dec 7, 2020 · Assigned by mitre
CVE-2020-29599
High 7.8
In plain English
A high-severity security flaw in the imagemagick package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.5% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)7.5%top 5.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.0.10.42-r0 | ALPINE-CVE-2020-29599 |
| Alpine:v3.21 | imagemagick | 7.0.10.42-r0 | ALPINE-CVE-2020-29599 |
| Alpine:v3.22 | imagemagick | 7.0.10.42-r0 | ALPINE-CVE-2020-29599 |
| Alpine:v3.23 | imagemagick | 7.0.10.42-r0 | ALPINE-CVE-2020-29599 |
| Alpine:v3.24 | imagemagick | 7.0.10.42-r0 | ALPINE-CVE-2020-29599 |
| Debian:12 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2020-29599 |
| Debian:13 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2020-29599 |
| Debian:14 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2020-29599 |
Affected products (as reported)
References
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html
- https://github.com/ImageMagick/ImageMagick/discussions/2851
- [debian-lts-announce] 20210112 [SECURITY] [DLA 2523-1] imagemagick security update mailing-list
- GLSA-202101-36 vendor-advisory
- [debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update mailing-list