Vulnerability · Published Apr 15, 2024 · Assigned by GitHub_M
CVE-2024-32036SixLabors.ImageSharp vulnerable to data leakage
Medium 5.3
In plain English
A medium-severity security flaw in ImageSharp from SixLabors. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ImageSharp is a 2D graphics API. A data leakage flaw was found in ImageSharp's JPEG and TGA decoders. This vulnerability is triggered when an attacker passes a specially crafted JPEG or TGA image file to a software using ImageSharp, potentially disclosing sensitive information from other parts of the software in the resulting image buffer. The problem has been patched in v3.1.4 and v2.1.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | sixlabors.imagesharp | 2.1.8 | GHSA-5x7m-6737-26cr |
| NuGet | sixlabors.imagesharp | 3.1.4 | GHSA-5x7m-6737-26cr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SixLabors | ImageSharp | < 2.1.8>= 3.0.0, < 3.1.4 |
Weakness: CWE-226 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-5x7m-6737-26cr x_refsource_CONFIRM
- https://github.com/SixLabors/ImageSharp/commit/8f0b4d3e680e78d479a88e7b1472bccd8f096d68 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/commit/da5f09a42513489fe359578d81cec2f15ba588ba x_refsource_MISC