Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | >= 6.9.8-1, < 6.9.11-40 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/ImageMagick/ImageMagick/discussions/2851ExploitThird Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.hThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://security.gentoo.org/glsa/202101-36Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/discussions/2851ExploitThird Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.hThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://security.gentoo.org/glsa/202101-36Third Party Advisory
FAQ
What is CVE-2020-29599?
CVE-2020-29599 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 proper...
How severe is CVE-2020-29599?
CVE-2020-29599 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-29599?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick, Debian Debian Linux.