CVE-2021-3596
Publication date 24 February 2022
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is due to not checking the return value from libxml2's xmlCreatePushParserCtxt() and uses the value directly, which leads to a crash and segmentation fault.
Status
Package | Ubuntu Release | Status |
---|---|---|
imagemagick | ||
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Not affected
|
|
16.04 LTS xenial |
Not affected
|
|
14.04 LTS trusty |
Not affected
|
Notes
alexmurray
According to debian this only affects imagemagick7 but looking at the code and the patch I suspect the older versions shipped in Ubuntu are also vulnerable.
eslerm
only affects creating PS/PDF file which policy.xml forbids (tested)
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 · Medium |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |