CVE-2024-37298 Affecting harbor-scanner-trivy-fips package, versions <0.31.3-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (18th 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 IDSNYK-CHAINGUARDLATEST-HARBORSCANNERTRIVYFIPS-7414173
  • published2 Jul 2024
  • disclosed1 Jul 2024

Introduced: 1 Jul 2024

CVE-2024-37298  (opens in a new tab)

How to fix?

Upgrade Chainguard harbor-scanner-trivy-fips to version 0.31.3-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harbor-scanner-trivy-fips package and not the harbor-scanner-trivy-fips package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running schema.Decoder.Decode() on a struct that has a field of type []struct{...} opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of schema.Decoder.Decode() on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.

CVSS Scores

version 3.1