Skip to content

chore(deps): update dependency sixlabors.imagesharp to v2 [security] - #765

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/nuget-sixlabors.imagesharp-vulnerability
Open

renovate[bot] wants to merge 1 commit into
developfrom
renovate/nuget-sixlabors.imagesharp-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 7, 2024

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
SixLabors.ImageSharp 1.0.3 -> 2.1.9 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-27929

Impact

A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure.

Patches

The problem has been patched. All users are advised to upgrade to v3.1.3 or v2.1.7.

Workarounds

None

References

None

CVE-2024-32035

Impact

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.

Patches

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

Workarounds

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

References

CVE-2024-32036

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

CVE-2024-41131

Impact

An Out-of-bounds Write vulnerability has been found in the ImageSharp gif decoder, allowing attackers to cause a crash using a specially crafted gif. This can potentially lead to denial of service.

Patches

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

Workarounds

None.

References

https://github.com/SixLabors/ImageSharp/pull/2754
https://github.com/SixLabors/ImageSharp/pull/2756

CVE-2024-41132

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?


Release Notes

SixLabors/ImageSharp (SixLabors.ImageSharp)

v2.1.9

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.8...v2.1.9

v2.1.8

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.7...v2.1.8

v2.1.7

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.6...v2.1.7

v2.1.6

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.5...v2.1.6

v2.1.5

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.4...v2.1.5

v2.1.4

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.3...v2.1.4

v2.1.3

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.2...v2.1.3

v2.1.2

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.1...v2.1.2

v2.1.1

What's Changed

Full Changelog: SixLabors/ImageSharp@v2.1.0...v2.1.1

v2.1.0

Advisories and Breaking Changes

Release Notes

Area:Performance

Bug

Codequality

Documentation

  • Fix documentation of HorizontalResolution and VerticalResolution properties - #​1981 via @​0xced

Enhancement

Formats:Jpeg

Formats:Png

Formats:Tiff

Metadata:Exif

Other

Unit Tests

New Contributors

Full Changelog: SixLabors/ImageSharp@v2.0.0...v2.1.0

v2.0.0

Advisories and Breaking Changes

Major breaking changes
  • Due to the new unmanaged memory engine, we had to redesign our pixel processing and low level memory management API-s. The most visible change is that the GetPixelRowSpan() methods have been replaced with ProcessPixelRows() variants. This was done to guarantee memory safety. For more details see:
  • Png and Jpeg now decode to pixels formats closer to the encoded format when using the non-generic API. (For example Jpeg now decodes to Image<Rgb24> instead of Image<Rgba32>.) This was done to reduce memory usage and remove some surprises for users.
  • We've dropped the old NetStandard 1.3 target. This targeted frameworks not supported by Microsoft and was adding overhead to development.
Complete list of breaking PR-s

Release Notes

API

Area:Build

Area:Formats

Area:Performance

Bug

Codequality

Enhancement

Formats:Jpeg

Formats:Png

Formats:Webp

Other

Unit Tests

New Contributors

Full Changelog: SixLabors/ImageSharp@v1.0.4...v2.0.0

v1.0.4

Advisories and Breaking Changes

  • None

Release Notes

Bug Fixes


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants