Artifex Ghostscript Type Confusion Vulnerability
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
Access of Resource Using Incompatible Type CWE-843
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Weakness data: MITRE Common Weakness Enumeration.
Incorrect Type Conversion or Cast CWE-704
The product does not correctly convert an object, resource, or structure from one type to a different type.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 9 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 |
|---|---|---|---|
| Artifex Ghostscript | Software | before 9.21 | 9.21 |
| Redhat Enterprise Linux EUS | Operating system | 7.3; 7.4; 7.5; 7.6; 7.7 | not recorded |
| Redhat Enterprise Linux Server AUS | Operating system | 7.3; 7.4; 7.6; 7.7 | not recorded |
| Redhat Enterprise Linux Server TUS | Operating system | 7.3; 7.6; 7.7 | not recorded |
| Redhat Enterprise Linux Desktop | Operating system | 6.0; 7.0 | not recorded |
| Redhat Enterprise Linux Server | Operating system | 6.0; 7.0 | not recorded |
| Redhat Enterprise Linux Workstation | Operating system | 6.0; 7.0 | not recorded |
| Debian Debian Linux | Operating system | 8.0 | not recorded |
| N/A N/A | Software | n/a | not recorded |
The 7.8 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 | Required | A person has to do something first, such as open a file or visit a page. |
| 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 | 1.8 | 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.
2 of the 11 sources NIST lists are patches or advisories from the vendor. 2 explain how the flaw works or include exploit code, so attackers can find instructions easily.