4.4

CVE-2021-39212: imagemagick Exposure of Resource to Wrong Sphere

CVSS: 4.4v3.1MediumModified
AliasesUBUNTU-CVE-2021-39212DEBIAN-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 27.3% of scored vulnerabilities.

Overall risk
18/100
0100
Low · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known 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

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

0.00 pp

From 0.35% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.35%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

3 vendors · 3 products

References

10 links