Vulnerability in Imagemagick
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}" />.
EPSS: 0.004 (27.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Imagemagick — versions >= 7.0.0, < 7.1.0-7, < 6.9.12-22
Weakness classification (CWE)
References
- security-advisories@github.com (Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (mailing-list)
Frequently asked questions
- What is CVE-2021-39212?
- CVE-2021-39212 is a medium-severity vulnerability in Imagemagick, classified under Exposure of Resource to Wrong Sphere. CVSS score: 4.4/10. Published 2021-09-13.
- How severe is CVE-2021-39212?
- Medium severity. CVSS v3 base score is 4.4 out of 10.