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}" />.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-39212
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-39212.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 7.1.0.7-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 8:6.9.11.60+dfsg-1.5 |
| debian | bullseye | fixed | 8:6.9.11.60+dfsg-1.3+deb11u2 |
| debian | forky | fixed | 8:6.9.11.60+dfsg-1.5 |
| debian | sid | fixed | 8:6.9.11.60+dfsg-1.5 |
| debian | trixie | fixed | 8:6.9.11.60+dfsg-1.5 |
References
Verify integrity in audit chain (admin only). AS-IS.