XML Injection Affecting imagemagick package, versions <8:6.9.7.4+dfsg-11+deb9u11
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-IMAGEMAGICK-1049975
- published 10 Dec 2020
- disclosed 7 Dec 2020
Introduced: 7 Dec 2020
CVE-2020-29599 Open this link in a new tabHow to fix?
Upgrade Debian:9
imagemagick
to version 8:6.9.7.4+dfsg-11+deb9u11 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream imagemagick
package and not the imagemagick
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2020-29599
- https://security.gentoo.org/glsa/202101-36
- https://github.com/ImageMagick/ImageMagick/discussions/2851
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html