CVE-2021-20224
Last modified
CVE-2021-20224 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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'. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.11-57 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.0.10-57 |
References
- https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/pull/3083Issue Tracking, Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464dPatch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/pull/3083Issue Tracking, Patch, Third Party Advisory
- https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464dPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20224?
How severe is CVE-2021-20224?
How do I fix CVE-2021-20224?
Are you affected by CVE-2021-20224?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
