CVE-2021-3962
A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | imagemagick | Fix pending | ||
| Red Hat Enterprise Linux 7 | ImageMagick | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ImageMagick: affected: 7.1.0-14
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2023196
- https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e
- https://github.com/ImageMagick/ImageMagick/issues/4446
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.