4.4

CVE-2021-39212: Issue when Configuring the ImageMagick Security Policy

Modified
AliasesUBUNTU-CVE-2021-39212DEBIAN-CVE-2021-39212ALPINE-CVE-2021-39212
Published 13-09-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-39212 is a medium (CVSS 4.4) Exposure of Resource to Wrong Sphere vulnerability in imagemagick. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 30.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.35%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 13-09-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • imagemagick≥ 6.9.12-0, < 7.1.0.10-r0 | < 7.1.0.10-r0
  • imagemagick6< 6.9.12.31-r0
Debian1 product
  • imagemagick< 8:6.9.11.60+dfsg-1.5
Imagemagick1 product
  • imagemagick≥ 7.0.0, < 7.1.0-7 | < 6.9.12-22 | ≥ 6.9.12-0, < 6.9.12-22 | ≥ 7.1.0-0, < 7.1.0-7
Ubuntu1 product
  • imagemagick< 8:6.9.10.23+dfsg-2.1ubuntu11.9 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1

4 vendors · 5 products

References

11 links
Show all 11 references