CVE-2021-39212

ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. In affected versions and in certain cases, Postscript files could be read and written when specifically excluded by a `module` policy in `policy.xml`. ex. <policy domain="module" rights="none" pattern="PS" />. The issue has been resolved in ImageMagick 7.1.0-7 and in 6.9.12-22. Fortunately, in the wild, few users utilize the `module` policy and instead use the `coder` policy that is also our workaround recommendation: <policy domain="coder" rights="none" pattern="{PS,EPI,EPS,EPSF,EPSI}" />.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

History

22 May 2023, 02:15

Type Values Removed Values Added
CWE CWE-362 CWE-668
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2023/05/msg00020.html -

05 Aug 2022, 10:58

Type Values Removed Values Added
CWE CWE-668 CWE-362
CVSS v2 : 3.6
v3 : 4.4
v2 : 3.6
v3 : 3.6

24 Sep 2021, 15:23

Type Values Removed Values Added
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 4.4
v2 : 3.6
v3 : 4.4
References (MISC) https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68 - (MISC) https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvhr-jj4p-j2qr - (CONFIRM) https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvhr-jj4p-j2qr - Third Party Advisory
References (MISC) https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4e - (MISC) https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4e - Patch, Third Party Advisory

13 Sep 2021, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-13 18:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-39212

Mitre link : CVE-2021-39212

CVE.ORG link : CVE-2021-39212


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-668

Exposure of Resource to Wrong Sphere

CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')