Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-39212

4.4 · MEDIUM
Published Sep 13, 2021 imagemagick CWE-668 EPSS 0.35% (28th pctl)

Overview

CVE-2021-39212 is a medium-severity vulnerability affecting imagemagick imagemagick. It was published on September 13, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from imagemagick. Update imagemagick to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
imagemagick imagemagick >= 6.9.12-0, < 6.9.12-22 Affected

Frequently Asked Questions

What is CVE-2021-39212?

CVE-2021-39212 is a medium-severity vulnerability affecting imagemagick imagemagick. It was published on September 13, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2021-39212?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-39212?

Check the references section for vendor advisories and patches from imagemagick. Update imagemagick to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-39212?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-39212 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.