Vulnerability · Published Sep 19, 2022 · Assigned by redhat
CVE-2022-3213
Medium 5.5
In plain English
A medium-severity memory corruption in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.5%top 57.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A heap buffer overflow issue was found in ImageMagick. When an application processes a malformed TIFF file, it could lead to undefined behavior or a crash causing a denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.1.0.47-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.21 | imagemagick | 7.1.0.47-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.22 | imagemagick | 7.1.0.47-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.23 | imagemagick | 7.1.0.47-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.24 | imagemagick | 7.1.0.47-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.20 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.21 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.22 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.23 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3213 |
| Alpine:v3.24 | tiff | 4.5.0-r0 | ALPINE-CVE-2022-3213 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u1 | DEBIAN-CVE-2022-3213 |
| Debian:13 | imagemagick | 8:6.9.12.98+dfsg1-2 | DEBIAN-CVE-2022-3213 |
| Debian:14 | imagemagick | 8:6.9.12.98+dfsg1-2 | DEBIAN-CVE-2022-3213 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | Fixed in ImageMagick 7.1.0-47, ImageMagick 6.9.12-62 |
Weakness: CWE-119
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2126824 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2022-3213 x_refsource_MISC
- https://github.com/ImageMagick/ImageMagick6/commit/1aea203eb36409ce6903b9e41fe7cb70030e8750 x_refsource_MISC
- https://github.com/ImageMagick/ImageMagick/commit/30ccf9a0da1f47161b5935a95be854fe84e6c2a2 x_refsource_MISC