CVE-2022-0284
A heap-based-buffer-over-read flaw was found in ImageMagick's GetPixelAlpha() function of 'pixel-accessor.h'. This vulnerability is triggered when an attacker passes a specially crafted Tagged Image File Format (TIFF) image to convert it into a PICON file format. This issue can potentially lead to a denial of service and information disclosure.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
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 | ||
| Alpine Linux 3.24 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.23 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.22 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.21 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.20 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.19 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.18 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.17 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
| Alpine Linux 3.16 | imagemagick | Fixed | 7.1.0.24-r0 | ALPINE-CVE-2022-0284 |
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: Fixed in ImageMagick-7.1.0-20
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2045943
- https://access.redhat.com/security/cve/CVE-2022-0284
- https://github.com/ImageMagick/ImageMagick/issues/4729
- https://github.com/ImageMagick/ImageMagick/commit/e50f19fd73c792ebe912df8ab83aa51a243a3da7
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.