Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-qxrv-gp6x-rc23: SixLabors ImageSharp has Excessive Memory Allocation in Gif Decoder

Impact

What kind of vulnerability is it? Who is impacted?

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.

Patches

Has the problem been patched? What versions should users upgrade to?

The problem has been patched. All users are advised to upgrade to v3.1.5 or v2.1.9.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Before calling Image.Decode(Async), use Image.Identify to determine the image dimensions in order to enforce a limit.

References

Are there any links users can visit to find out more?

ghsa
#vulnerability#web#git

Package

nuget SixLabors.ImageSharp (NuGet)

Affected versions

< 2.1.9

>= 3.0.0, < 3.1.5

Patched versions

2.1.9

3.1.5

Description

Impact

What kind of vulnerability is it? Who is impacted?

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.

Patches

Has the problem been patched? What versions should users upgrade to?

The problem has been patched. All users are advised to upgrade to v3.1.5 or v2.1.9.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Before calling Image.Decode(Async), use Image.Identify to determine the image dimensions in order to enforce a limit.

References

Are there any links users can visit to find out more?

  • SixLabors/ImageSharp#2759
  • SixLabors/ImageSharp#2764
  • SixLabors/ImageSharp#2770
  • ImageSharp: Security Considerations
  • ImageSharp.Web: Securing Processing Commands

References

  • GHSA-qxrv-gp6x-rc23
  • https://nvd.nist.gov/vuln/detail/CVE-2024-41132
  • SixLabors/ImageSharp#2759
  • SixLabors/ImageSharp#2764
  • SixLabors/ImageSharp#2770
  • SixLabors/ImageSharp@59de13c
  • SixLabors/ImageSharp@9816ca4
  • SixLabors/ImageSharp@b496109
  • https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands
  • https://docs.sixlabors.com/articles/imagesharp/security.html

JimBobSquarePants published to SixLabors/ImageSharp

Jul 22, 2024

Published by the National Vulnerability Database

Jul 22, 2024

Published to the GitHub Advisory Database

Jul 22, 2024

Reviewed

Jul 22, 2024

Last updated

Jul 22, 2024

ghsa: Latest News

GHSA-7p9f-6x8j-gxxp: CRI-O: Maliciously structured checkpoint file can gain arbitrary node access