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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20219A denial of service vulnerability was found in n_tty_receive…5.5
- CVE-2021-2022Vulnerability in the MySQL Server product of Oracle MySQL (c…4.4
- CVE-2021-20220A flaw was found in Undertow. A regression in the fix for CV…4.8
- CVE-2021-20221An out-of-bounds heap buffer access issue was found in the A…6
- CVE-2021-20222A flaw was found in keycloak. The new account console in key…7.5
- CVE-2021-20223Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20225A flaw was found in grub2 in versions prior to 2.06. The opt…6.7
- CVE-2021-20226A use-after-free flaw was found in the io_uring in Linux ker…7.8
- CVE-2021-20227A flaw was found in SQLite's SELECT query functionality (src…5.5
- CVE-2021-20228A flaw was found in the Ansible Engine 2.9.18, where sensiti…7.5
- CVE-2021-20229A flaw was found in PostgreSQL in versions before 13.2. This…4.3
- CVE-2021-2023Vulnerability in the Oracle Installed Base product of Oracle…4.7
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
