Amazon Linux AMI update for ImageMagick



Published: 2023-11-10
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-5341
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

ImageMagick
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU82972

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-5341

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the ReadBMPImage() function in coders/bmp.c. A remote attacker can pass a specially crafted image to the application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Update the affected packages:

i686:
    ImageMagick-c++-6.9.10.97-1.30.amzn1.i686
    ImageMagick-doc-6.9.10.97-1.30.amzn1.i686
    ImageMagick-perl-6.9.10.97-1.30.amzn1.i686
    ImageMagick-debuginfo-6.9.10.97-1.30.amzn1.i686
    ImageMagick-devel-6.9.10.97-1.30.amzn1.i686
    ImageMagick-6.9.10.97-1.30.amzn1.i686
    ImageMagick-c++-devel-6.9.10.97-1.30.amzn1.i686

src:
    ImageMagick-6.9.10.97-1.30.amzn1.src

x86_64:
    ImageMagick-doc-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-c++-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-debuginfo-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-c++-devel-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-devel-6.9.10.97-1.30.amzn1.x86_64
    ImageMagick-perl-6.9.10.97-1.30.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

ImageMagick: before 6.9.10.97-1.30

External links

http://alas.aws.amazon.com/ALAS-2023-1856.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###