CVE-2024-32035 Memory Allocation with Excessive Size Value in SixLabors.ImageSharp
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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 image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation. The problem has been patched in v3.1.4 and v2.1.8.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | < 2.1.8; = 1.0.0; = 1.0.0-beta0001; = 1.0.0-beta0002 +29 more | 2.1.8, 3.1.4 | Fixed |
| SixLabors ImageSharp | < 2.1.8; = < 2.1.8; = >= 3.0.0, < 3.1.4; >= 3.0.0, < 3.1.4 +1 more | 2.1.8, 3.1.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | < 2.1.8 | 2.1.8 |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0001 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0002 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0003 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0004 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0005 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0006 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0007 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0001 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0002 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0003 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.3 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.4 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.3 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.4 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.5 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.6 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.7 | No fix listed |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | >= 3.0.0, < 3.1.4 | 3.1.4 |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.3 | No fix listed |
| SixLabors ImageSharp | = < 2.1.8 | No fix listed |
| SixLabors ImageSharp | = >= 3.0.0, < 3.1.4 | No fix listed |
| SixLabors ImageSharp | >= 3.0.0, <= 3.1.4 | No fix listed |
| SixLabors ImageSharp | < 2.1.8 | 2.1.8 |
| SixLabors ImageSharp | >= 3.0.0, < 3.1.4 | 3.1.4 |
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/SixLabors/ImageSharp/commit/b6b08ac3e7cea8da5ac1e90f7c0b67dd254535c3 patch
- https://github.com/SixLabors/ImageSharp/commit/f21d64188e59ae9464ff462056a5e29d8e618b27 patch
- https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands product
- https://docs.sixlabors.com/articles/imagesharp/security.html product
- github.com product
- github.com