CVE-2024-37298 Affecting zot package, versions <2.0.4-r9
Threat Intelligence
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 ID SNYK-WOLFILATEST-ZOT-7416416
- published 2 Jul 2024
- disclosed 1 Jul 2024
Introduced: 1 Jul 2024
CVE-2024-37298 Open this link in a new tabHow 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.