Multiple vulnerabilities in SixLabors ImageSharp



Published: 2024-07-29
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-41132
CVE-2024-41131
CWE-ID CWE-789
CWE-787
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ImageSharp
Client/Desktop applications / Virtualization software

Vendor Six Labors

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Uncontrolled Memory Allocation

EUVDB-ID: #VU94833

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-2024-41132

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

Exploit availability: No

Description

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

The vulnerability exists due to excessive memory allocation in Gif Decoder. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

ImageSharp: 2.1.0 - 3.1.4

External links

http://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23
http://github.com/SixLabors/ImageSharp/pull/2759
http://github.com/SixLabors/ImageSharp/pull/2764
http://github.com/SixLabors/ImageSharp/pull/2770
http://github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515
http://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56
http://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a
http://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands
http://docs.sixlabors.com/articles/imagesharp/security.html


Q & A

Can this vulnerability be exploited remotely?

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

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted file.

Is there known malware, which exploits this vulnerability?

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

2) Out-of-bounds write

EUVDB-ID: #VU94834

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-2024-41131

CWE-ID: CWE-787 - Out-of-bounds write

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 untrusted input in SixLabors ImageSharp. A remote attacker can trigger an out-of-bounds write and cause a denial of service condition on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

ImageSharp: 2.1.0 - 3.1.4

External links

http://github.com/SixLabors/ImageSharp/security/advisories/GHSA-63p8-c4ww-9cg7
http://github.com/SixLabors/ImageSharp/pull/2754
http://github.com/SixLabors/ImageSharp/pull/2756
http://github.com/SixLabors/ImageSharp/commit/9dda64a8186af67baf06b6d9c1ab599c3608b693
http://github.com/SixLabors/ImageSharp/commit/a1f287977139109a987065643b8172c748abdadb


Q & A

Can this vulnerability be exploited remotely?

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

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted file.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###