Name | CVE-2021-39212 |
Description | 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}" />. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3429-1 |
Debian Bugs | 996588 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
imagemagick (PTS) | jessie, jessie (lts) | 8:6.8.9.9-5+deb8u27 | vulnerable |
stretch (security) | 8:6.9.7.4+dfsg-11+deb9u14 | vulnerable | |
stretch (lts), stretch | 8:6.9.7.4+dfsg-11+deb9u20 | vulnerable | |
buster, buster (lts) | 8:6.9.10.23+dfsg-2.1+deb10u9 | fixed | |
buster (security) | 8:6.9.10.23+dfsg-2.1+deb10u7 | fixed | |
bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | fixed | |
bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u3 | fixed | |
bookworm | 8:6.9.11.60+dfsg-1.6+deb12u2 | fixed | |
bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u1 | fixed | |
trixie, sid | 8:6.9.13.12+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
imagemagick | source | buster | 8:6.9.10.23+dfsg-2.1+deb10u5 | DLA-3429-1 | ||
imagemagick | source | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u2 | |||
imagemagick | source | (unstable) | 8:6.9.11.60+dfsg-1.5 | 996588 |
[stretch] - imagemagick <no-dsa> (Minor issue)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvhr-jj4p-j2qr
https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68
https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4e
V6 [1/4] https://github.com/ImageMagick/ImageMagick6/commit/8cd2fcd33460826628a7590dc3ce74d7785e1598
V6 [2/4] https://github.com/ImageMagick/ImageMagick6/commit/69ea5587de17ef89476be47a3cb7f855c0355a74
V6 [3/4] https://github.com/ImageMagick/ImageMagick6/commit/b60e17133b982d28816386b83174c2bc06dd39bd
V6 [4/4] https://github.com/ImageMagick/ImageMagick6/commit/428e68597fa904d0bdc133d878e12acd7dc60fa3
[jessie] - imagemagick <ignored> (Minor issue, need special configuration, easy workarround exists, hard to backport)