Skip to main content

GHSA-wqcr-xm43-hpqr — Vulnerability in ImageResizer.Plug…FreeImage

HIGH

Vulnerable version of libwebp and can be exploited with a malicious source image

Published October 6, 2023Updated December 1, 2024Source: OSV

Does your project use an affected ImageResizer.Plugins.FreeImage version?

Paste your packages.lock.json to check it for GHSA-wqcr-xm43-hpqr and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Impact

This vulnerability affects deployments of FreeImage that involve decoding or processing malicious source .webp files. If you only process your own trusted files, this should not affect you, but you should remove FreeImage from your project, as it is not maintained and presents a massive security risk.

If you are using FreeImage via ImageResizer.Plugins.FreeImage, please utilize Imageflow or Imageflow.Server instead, or upgrade to ImageResizer 5 and use ImageResizer.Plugins.Imageflow (enable Prereleases on NuGet to access).

FreeImage relies on Google's libwebp library to decode .webp images, and is affected by the recent zero-day out-of-bounds write vulnerability CVE-2023-4863 and https://github.com/advisories/GHSA-j7hp-h8jx-5ppr. The libwebp vulnerability also affects Chrome, Android, macOS, and other consumers of the library).

libwebp patched the vulnerability and released 1.3.2. FreeImage hasn't been updated since then and is presumed vulnerable.

Patches

None. FreeImage has not been updated in several years.

Workarounds

If you are using ImageResizer.Plugins.FreeImage, please utilize Imageflow or Imageflow.Server instead, or upgrade to ImageResizer 5 and use ImageResizer.Plugins.Imageflow (enable Prereleases on NuGet to access).

References

https://github.com/advisories/GHSA-j7hp-h8jx-5ppr https://nvd.nist.gov/vuln/detail/CVE-2023-4863 https://github.com/webmproject/libwebp/commit/2af26267cdfcb63a88e5c74a85927a12d6ca1d76 https://github.com/NoXF/libwebp-sys/commits/master

Advisory Timeline

  • First published October 6, 2023 (1147 days ago).
  • Last revised December 1, 2024 — 421 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
ImageResizer.Plugins.FreeImage NuGet · Affected: 4.0.0-prerelease0877, 4.0.0-prerelease0881, 4.0.1, 4.0.2 (+26 more)Range-based data available

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is GHSA-wqcr-xm43-hpqr?
Vulnerable version of libwebp and can be exploited with a malicious source image. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by GHSA-wqcr-xm43-hpqr?
GHSA-wqcr-xm43-hpqr affects ImageResizer.Plugins.FreeImage. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-wqcr-xm43-hpqr and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json