Lucene search

K
amazonAmazonALAS2-2023-2253
HistorySep 13, 2023 - 11:44 p.m.

Medium: ImageMagick

2023-09-1323:44:00
alas.aws.amazon.com
7
imagemagick
null pointer dereference
readsvgimage
crash
segmentation fault
update
cve-2021-3596

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.4 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

67.9%

Issue Overview:

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. (CVE-2021-3596)

Affected Packages:

ImageMagick

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update ImageMagick to update your system.

New Packages:

aarch64:  
    ImageMagick-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-devel-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-doc-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-perl-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-c++-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.9.aarch64  
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.9.aarch64  
  
i686:  
    ImageMagick-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-devel-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-doc-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-perl-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-c++-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.9.i686  
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.9.i686  
  
src:  
    ImageMagick-6.9.10.97-1.amzn2.0.9.src  
  
x86_64:  
    ImageMagick-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-devel-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-doc-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-perl-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-c++-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.9.x86_64  
    ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.9.x86_64  

Additional References

Red Hat: CVE-2021-3596

Mitre: CVE-2021-3596

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.4 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

67.9%