CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NMedium (6.5) in imagemagick imagemagick. EPSS 90% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExplain CVE-2022-44268 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-44268?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-44268?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-44268 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| imagemagick:imagemagick | 7.1.0-49 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | imagemagick | 8:6.9.10.23+dfsg-2.1+deb10u2 | DLA-3357-1 |
| Debian | 11 | imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u1 | DSA-5347-1 |
| Debian | 12, 13, 14 | imagemagick | 8:6.9.11.60+dfsg-1.6 | DEBIAN-CVE-2022-44268 |
| Ubuntu | 18.04:LTS | imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.15 | UBUNTU-CVE-2022-44268 USN-5855-1 |
| Ubuntu | 20.04:LTS | imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.5 | UBUNTU-CVE-2022-44268 USN-5855-2 |
| Ubuntu | 22.04:LTS | imagemagick | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1 | UBUNTU-CVE-2022-44268 USN-5855-2 |
| Ubuntu | Pro:14.04:LTS | imagemagick | 8:6.7.7.10-6ubuntu3.13+esm5 | UBUNTU-CVE-2022-44268 USN-5855-4 |
| Ubuntu | Pro:16.04:LTS | imagemagick | 8:6.8.9.9-7ubuntu5.16+esm7 | UBUNTU-CVE-2022-44268 USN-5855-4 |
| SUSE | Enterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 more | ImageMagick | 7.0.7.34-150200.10.42.1 | SUSE-SU-2023:0424-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1 | ImageMagick | 7.0.7.34-150000.3.123.1 | SUSE-SU-2023:4634-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP4, Linux Enterprise Module for Development Tools 15 SP4 | ImageMagick | 7.1.0.9-150400.6.12.1 | SUSE-SU-2023:0428-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 6 more | ImageMagick | 6.8.8.1-71.183.1 | SUSE-SU-2023:0421-1 |
| openSUSE | Leap 15.4 | ImageMagick | 7.0.7.34-150200.10.42.1 | SUSE-SU-2023:0424-1 |
| openSUSE | Leap 15.4 | ImageMagick | 7.1.0.9-150400.6.12.1 | SUSE-SU-2023:0428-1 |
| openSUSE | Tumbleweed | ImageMagick | 7.1.1.17-1.1 | openSUSE-SU-2024:13263-1 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | imagemagick | 7.1.0.52-r0 | ALPINE-CVE-2022-44268 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
To mitigate the issue, we recommend setting a security policy that is suitable for your local environment. Add this to your security policy (policy.xml):
~~~
<policy domain="path" rights="none" pattern="/etc/*"/> <!-- don't read sensitive paths -->
~~~
With above policy, you get:
~~~
$ magick logo: -set profile /etc/passwd logo.png
magick: attempt to perform an operation not allowed by the security policy `/etc/passwd' @ error/blob.c/FileToBlob/1433.
~~~
This can be as draconian as needed. Use /* as the path to prevent reading any file with an absolute path. You can also protect against relative paths:
~~~
<policy domain="path" rights="none" pattern="../*"/>
~~~
(For more information, refer to the complete issue discussion in external references)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick | Out of support scope | |
| Red Hat Enterprise Linux 7 | ImageMagick | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-44268.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).