Your submission was sent successfully! Close

CVE-2021-39212

Published: 13 September 2021

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}" />.

Notes

AuthorNote
rayveldkamp
imagemagick is in universe from focal onwards
mdeslaur
packages in Ubuntu use the coder policy to exclude postscript
files, not the module policy
Priority

Low

CVSS 3 base score: 3.6

Status

Package Release Status
imagemagick
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Needed

hirsute Ignored
(reached end-of-life)
impish Ignored
(reached end-of-life)
jammy Needed

trusty Needs triage

upstream Needs triage

xenial Not vulnerable
(code not present)
Patches:
upstream: https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68
upstream: https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4e
upstream: https://github.com/ImageMagick/ImageMagick6/commit/428e68597fa904d0bdc133d878e12acd7dc60fa3
upstream: https://github.com/ImageMagick/ImageMagick6/commit/69ea5587de17ef89476be47a3cb7f855c0355a74