CVE-2024-37298 Affecting zot package, versions <2.0.4-r9


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

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-WOLFILATEST-ZOT-7416416
  • published2 Jul 2024
  • disclosed1 Jul 2024

Introduced: 1 Jul 2024

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

How to fix?

Upgrade Wolfi zot to version 2.0.4-r9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zot package and not the zot package as distributed by Wolfi. See How to fix? for Wolfi 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