Debian update for imagemagick



Risk High
Patch available YES
Number of vulnerabilities 7
CVE-ID CVE-2021-3610
CVE-2022-1115
CVE-2023-1289
CVE-2023-1906
CVE-2023-3428
CVE-2023-5341
CVE-2023-34151
CWE-ID CWE-122
CWE-399
CWE-119
CWE-416
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Debian Linux
Operating systems & Components / Operating system

imagemagick (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Bulletin

This security bulletin contains information about 7 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU62858

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-3610

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to an incorrect setting of the pixel array size in ReadTIFFImage() function in coders/tiff.c. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and perform a denial of service attack.

Mitigation

Update imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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) Heap-based buffer overflow

EUVDB-ID: #VU68076

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-1115

CWE-ID: CWE-122 - Heap-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 within the PushShortPixel() function in quantum-private.h when processing TIFF images. A remote attacker can pass specially crafted TIFF image to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation

Update imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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.

3) Resource management error

EUVDB-ID: #VU74300

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-1289

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

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

The vulnerability exists due to improper management of internal resources within the application when parsing SVG files. A remote attacker can pass a specially crafted SVG file that contains many render actions and consume all available disk space on the system.

Mitigation

Update imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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.

4) Heap-based buffer overflow

EUVDB-ID: #VU74569

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2023-1906

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in MagickCore/quantum-import.c. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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.

5) Buffer overflow

EUVDB-ID: #VU77938

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

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 imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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.

6) Use-after-free

EUVDB-ID: #VU82972

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

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 imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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.

7) Input validation error

EUVDB-ID: #VU76763

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-34151

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can pass specially crafted image to the application and perform a denial of service (DoS) attack.

Mitigation

Update imagemagick package to one of the following versions: 8:6.9.11.60+dfsg-1.3+deb11u3, 8:6.9.11.60+dfsg-1.6+deb12u1.

Vulnerable software versions

Debian Linux: All versions

imagemagick (Debian package): before 8:6.9.11.60+dfsg-1.3+deb11u3

CPE2.3 External links

https://lists.debian.org/debian-security-announce/2024/msg00035.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###