ImageMagick PDF File quantum-export.c ExportIndexQuantum integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in ImageMagick. Impacted is the function ExportIndexQuantum of the file MagickCore/quantum-export.c of the component PDF File Handler. Executing a manipulation can lead to integer overflow.
This vulnerability is tracked as CVE-2021-20224. The attack can be launched remotely. No exploit exists.
A patch should be applied to remediate this issue.
Details
A vulnerability was found in ImageMagick (Image Processing Software) (the affected version unknown). It has been declared as critical. This vulnerability affects the function ExportIndexQuantum of the file MagickCore/quantum-export.c of the component PDF File Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was disclosed 08/26/2022. The advisory is available at github.com. This vulnerability was named CVE-2021-20224 since 12/17/2020. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit.
Applying the patch 5af1dffa4b6ab984b5f13d1e91c95760d75f12a6 is able to eliminate this problem. The bugfix is ready for download at github.com.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
Timeline
12/17/2020 🔍08/26/2022 🔍
08/26/2022 🔍
10/02/2022 🔍
Sources
Product: imagemagick.orgAdvisory: 5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
Status: Confirmed
CVE: CVE-2021-20224 (🔍)
GCVE (CVE): GCVE-0-2021-20224
GCVE (VulDB): GCVE-100-207322
Entry
Created: 08/26/2022 09:08Updated: 10/02/2022 07:46
Changes: 08/26/2022 09:08 (42), 10/02/2022 07:41 (1), 10/02/2022 07:46 (11)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.