Use After Free Affecting sixlabors.imagesharp package, versions [,2.1.7)[3.0.0,3.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-SIXLABORSIMAGESHARP-6394504
  • published6 Mar 2024
  • disclosed5 Mar 2024
  • creditUnknown

Introduced: 5 Mar 2024

CVE-2024-27929  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade SixLabors.ImageSharp to version 2.1.7, 3.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free due to the InitializeImage function in the PngDecoderCore.cs file. An attacker can potentially lead to information disclosure by passing a specially crafted PNG image file for conversion.

References

CVSS Scores

version 3.1