Amazon Linux AMI update for ImageMagick



Published: 2023-07-20
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-3195
CVE-2023-3428
CWE-ID CWE-121
CWE-119
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 information about 2 vulnerabilities.

1) Stack-based buffer overflow

EUVDB-ID: #VU77451

Risk: Medium

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

CVE-ID: CVE-2023-3195

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack

The vulnerability exists due to a boundary error in coders/tiff.c. A remote attacker can pass a specially crafted TIFF file to the application, trigger a stack overflow and crash the application.

Mitigation

Update the affected packages:

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

src:
    ImageMagick-6.9.10.97-1.26.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

ImageMagick: before 6.9.10.97-1.26

External links

http://alas.aws.amazon.com/ALAS-2023-1781.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.

2) Buffer overflow

EUVDB-ID: #VU77938

Risk: Medium

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

CVE-ID: CVE-2023-3428

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing TIFF files in coders/tiff.c. A remote attacker can pass a specially crafted TIFF file to the application, trigger memory corruption and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

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

src:
    ImageMagick-6.9.10.97-1.26.amzn1.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

ImageMagick: before 6.9.10.97-1.26

External links

http://alas.aws.amazon.com/ALAS-2023-1781.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###