PT-2021-7758 · Unknown+3 · Imagemagick+3

5Hadowblad3

·

Published

2021-06-10

·

Updated

2023-08-31

·

CVE-2021-3596

CVSS v2.0

7.1

High

VectorAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions ImageMagick versions prior to 7.0.10-31
Description The issue is related to a NULL pointer dereference flaw in the ReadSVGImage() function of the coders/svg.c component. This flaw is caused by not checking the return value from libxml2's xmlCreatePushParserCtxt() and using the value directly, leading to a crash and segmentation fault. The flaw can be exploited by a remote attacker to cause a denial of service.
Recommendations For versions prior to 7.0.10-31, update to version 7.0.10-31 or later to resolve the issue. As a temporary workaround, consider disabling the ReadSVGImage() function in coders/svg.c to prevent exploitation until a patch is applied. Restrict access to the coders/svg.c component to minimize the risk of exploitation. Avoid using the xmlCreatePushParserCtxt() function from libxml2 in the affected ReadSVGImage() function until the issue is resolved.

Exploit

Fix

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

ALT-PU-2023-5309
BDU:2023-02650
CVE-2021-3596
DLA-3007-1
DLA-3357-1
DLA-3357-2
OESA-2022-1579
OESA-2022-2091

Affected Products

Alt Linux
Astra Linux
Imagemagick
Libxml2