Skip to content

Buffers not cleared before reuse in SixLabors.ImageSharp

Moderate
JimBobSquarePants published GHSA-5x7m-6737-26cr Apr 15, 2024

Package

nuget SixLabors.ImageSharp (NuGet)

Affected versions

< 2.1.8
< 3.1.4

Patched versions

2.1.8
3.1.4

Description

Impact

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.

Patches

The problem has been patched. All users are advised to upgrade to v3.1.4 or v2.1.8.

Workarounds

None

References

None

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

CVE ID

CVE-2024-32036

Weaknesses