CVE-2021-39212
Last modified
CVE-2021-39212 is a low-severity vulnerability rated 3.6/10 on the CVSS scale. 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`. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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}" />.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | >= 6.9.12-0, < 6.9.12-22 |
| Imagemagick | Imagemagick | >= 7.1.0-0, < 7.1.0-7 |
References
- https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4ePatch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/01faddbe2711a4156180c4a92837e2f23683cc68Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/35893e7cad78ce461fcaffa56076c11700ba5e4ePatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39212?
How severe is CVE-2021-39212?
How do I fix CVE-2021-39212?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39207parlai is a framework for training and evaluating AI models …8.8
- CVE-2021-39208SharpCompress is a fully managed C# library to deal with man…4.3
- CVE-2021-39209GLPI is a free Asset and IT management software package. In …8.8
- CVE-2021-3921firefly-iii is vulnerable to Cross-Site Request Forgery (CSR…4.3
- CVE-2021-39210GLPI is a free Asset and IT management software package. In …6.5
- CVE-2021-39211GLPI is a free Asset and IT management software package. Sta…5.3
- CVE-2021-39213GLPI is a free Asset and IT management software package. Sta…8.8
- CVE-2021-39214mitmproxy is an interactive, SSL/TLS-capable intercepting pr…9.8
- CVE-2021-39215Jitsi Meet is an open source video conferencing application.…7.5
- CVE-2021-39216Wasmtime is an open source runtime for WebAssembly & WASI. I…6.3
- CVE-2021-39217OpenMage LTS is an e-commerce platform. Prior to versions 19…7.2
- CVE-2021-39218Wasmtime is an open source runtime for WebAssembly & WASI. I…6.3
Are you affected by CVE-2021-39212?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
