CVE-2020-29599

MEDIUM

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.

References

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://security.gentoo.org/glsa/202101-36

Details

Source: MITRE

Published: 2020-12-07

Updated: 2021-03-29

Type: CWE-91

Risk Information

CVSS v2.0

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3.0

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH

Tenable Plugins

View all (17 total)

IDNameProductFamilySeverity
148047EulerOS 2.0 SP5 : ImageMagick (EulerOS-SA-2021-1682)NessusHuawei Local Security Checks
medium
146883CentOS 7 : ImageMagick (CESA-2021:0024)NessusCentOS Local Security Checks
medium
146668EulerOS 2.0 SP2 : ImageMagick (EulerOS-SA-2021-1305)NessusHuawei Local Security Checks
high
146629Amazon Linux 2 : ImageMagick (ALAS-2021-1596)NessusAmazon Linux Local Security Checks
medium
146570Amazon Linux AMI : ImageMagick (ALAS-2021-1479)NessusAmazon Linux Local Security Checks
medium
145752EulerOS 2.0 SP8 : ImageMagick (EulerOS-SA-2021-1147)NessusHuawei Local Security Checks
medium
145561GLSA-202101-36 : ImageMagick: Command injectionNessusGentoo Local Security Checks
medium
145394openSUSE Security Update : ImageMagick (openSUSE-2021-148)NessusSuSE Local Security Checks
medium
145361openSUSE Security Update : ImageMagick (openSUSE-2021-136)NessusSuSE Local Security Checks
medium
145211EulerOS 2.0 SP3 : ImageMagick (EulerOS-SA-2021-1074)NessusHuawei Local Security Checks
medium
145198SUSE SLED15 / SLES15 Security Update : ImageMagick (SUSE-SU-2021:0153-1)NessusSuSE Local Security Checks
medium
145181SUSE SLED15 / SLES15 Security Update : ImageMagick (SUSE-SU-2021:0156-1)NessusSuSE Local Security Checks
medium
144925Debian DLA-2523-1 : imagemagick security updateNessusDebian Local Security Checks
medium
144753RHEL 7 : ImageMagick (RHSA-2021:0024)NessusRed Hat Local Security Checks
medium
144748Oracle Linux 7 : ImageMagick (ELSA-2021-0024)NessusOracle Linux Local Security Checks
medium
144744Scientific Linux Security Update : ImageMagick on SL7.x i686/x86_64 (2021:0024)NessusScientific Linux Local Security Checks
medium
144454ImageMagick < 6.9.11-40 / 7.x < 7.0.10-40 -authenticate Option Command InjectionNessusWindows
medium