CVE-2021-20224
Published: 25 August 2022
An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.
Priority
Status
Package | Release | Status |
---|---|---|
imagemagick
Launchpad, Ubuntu, Debian |
bionic |
Released
(8:6.9.7.4+dfsg-16ubuntu6.14)
|
focal |
Released
(8:6.9.10.23+dfsg-2.1ubuntu11.9)
|
|
jammy |
Not vulnerable
(8:6.9.11.60+dfsg-1.3build2)
|
|
kinetic |
Not vulnerable
(8:6.9.11.60+dfsg-1.3build3)
|
|
lunar |
Not vulnerable
(8:6.9.11.60+dfsg-1.3build3)
|
|
trusty |
Released
(8:6.7.7.10-6ubuntu3.13+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(8:6.9.11.57+dfsg-1)
|
|
xenial |
Released
(8:6.8.9.9-7ubuntu5.16+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
- https://github.com/ImageMagick/ImageMagick/pull/3083
- https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
- https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d
- https://ubuntu.com/security/notices/USN-5736-1
- https://ubuntu.com/security/notices/USN-5736-2
- https://ubuntu.com/security/notices/USN-6200-1
- https://www.cve.org/CVERecord?id=CVE-2021-20224
- NVD
- Launchpad
- Debian