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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (7.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 7.51% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-91
- Affected
- imagemagick/imagemagick · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/ImageMagick/ImageMagick/discussions/2851Exploit, Third Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing List, Third 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/2851Exploit, Third Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://security.gentoo.org/glsa/202101-36Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.