#VU62889 Exposure of Resource to Wrong Sphere


Published: 2022-05-10

Vulnerability identifier: #VU62889

Vulnerability risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-39212

CWE-ID: N/A

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description
The vulnerability allows a remote attacker to bypass security restrictions.

The vulnerability exists due to improper implementation of security restrictions in the “policy” module when parsing PostScript files. A remote attacker can pass specially crafted PostScript file with customized policy.xml and bypass implemented security restrictions.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.1.0-0 - 7.1.0-6, 6.9.12-0 - 6.9.12-21, 6.9.11-0 - 6.9.11-62, 6.9.10-0 - 6.9.10-97, 6.9.9-0 - 6.9.9-51, 6.9.8-0 - 6.9.8-10, 6.9.7 - 6.9.7-10, 6.9.6-0 - 6.9.6.6, 6.9.5-0 - 6.9.5-10, 6.9.4-0 - 6.9.4-10, 6.9.2-0 - 6.9.2-10, 6.9.1-0 - 6.9.1-10, 6.9.0-0 - 6.9.0-10, 6.9.3-0 - 6.9.3-10


CPE

External links
http://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvhr-jj4p-j2qr
http://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68
http://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4e


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability