ImageMagick Improper Input Validation Vulnerability
ImageMagick contains an improper input validation vulnerability that affects the EPHEMERAL, HTTPS, MVG, MSL, TEXT, SHOW, WIN, and PLT coders. This allows a remote attacker to execute arbitrary code via shell metacharacters in a crafted image.
Improper Input Validation CWE-20
The software trusts data it is given without checking it, so an attacker can send something it was never built to handle.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 7 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Imagemagick Imagemagick | Software | up to and including 6.9.3-9; 7.0.0-0; 7.0.1-0 | not recorded |
| Canonical Ubuntu Linux | Operating system | 12.04; 14.04; 15.10; 16.04 | not recorded |
| Debian Debian Linux | Operating system | 8.0; 9.0 | not recorded |
| N/A N/A | Software | n/a | not recorded |
| Opensuse Leap | Operating system | 42.1 | not recorded |
| Opensuse Opensuse | Operating system | 13.2 | not recorded |
| Suse Suse Linux Enterprise Server | Operating system | 12 | not recorded |
The 8.4 severity score (high) from NIST, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 2.5 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
4 of the 31 sources NIST lists are patches or advisories from the vendor.