NULL Pointer Dereference Affecting gitsign package, versions <0.8.1-r0
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-GITSIGN-6243602
- published 13 Feb 2024
- disclosed 9 Jan 2024
Introduced: 9 Jan 2024
CVE-2024-21664 Open this link in a new tabHow to fix?
Upgrade Wolfi
gitsign
to version 0.8.1-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream gitsign
package and not the gitsign
package as distributed by Wolfi
.
See How to fix?
for Wolfi
relevant fixed versions and status.
jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. Calling jws.Parse
with a JSON serialized payload where the signature
field is present while protected
is absent can lead to a nil pointer dereference. The vulnerability can be used to crash/DOS a system doing JWS verification. This vulnerability has been patched in versions 2.0.19 and 1.2.28.
References
- https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f
- https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3
- https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65