CVEvulnerability
CVE-2020-29599
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-12-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-91
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 configurations
• imagemagick imagemagick (>= 6.9.8-1 < 6.9.11-40)
• imagemagick imagemagick (>= 7.0.5-3 < 7.0.10-40)
• debian debian linux 9.0
Related
Weakness · CWE (1)
- CWE-91 XML Injection weakness
References
- https://github.com/ImageMagick/ImageMagick/discussions/2851 Exploit, Third Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html lists.debian.org
- https://security.gentoo.org/glsa/202101-36 Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/discussions/2851 Exploit, Third Party Advisory
- https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html lists.debian.org
- https://security.gentoo.org/glsa/202101-36 Third Party Advisory