Resource exhaustion in Sixlabors Imagesharp
CVE-2024-41132
ImageSharp is a 2D graphics API. A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in the Gif decoder. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. All users are advised to upgrade to v3.1.5 or v2.1.9.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.008, 56.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Sixlabors Imagesharp — versions < 2.1.9, >= 3.0.0, < 3.1.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23 (Vendor Advisory)
- https://github.com/SixLabors/ImageSharp/pull/2759 (Issue Tracking)
- https://github.com/SixLabors/ImageSharp/pull/2764 (Issue Tracking)
- https://github.com/SixLabors/ImageSharp/pull/2770 (Issue Tracking)
- https://github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515 (Patch)
- https://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56 (Patch)
- https://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a (Patch)
- https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands (Product)
- https://docs.sixlabors.com/articles/imagesharp/security.html (Product)