CVE-2020-29599

Name
CVE-2020-29599
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Third Party Advisory https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html
Exploit https://github.com/ImageMagick/ImageMagick/discussions/2851
Mailing List https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html
Third Party Advisory https://security.gentoo.org/glsa/202101-36

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* imagemagick >= 6.9.8-1 < 6.9.11-40
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* imagemagick >= 7.0.5-3 < 7.0.10-40

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
imagemagick 3.10-main 7.0.8.68-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable