Live threats

All CVEs / Lestrrat-go

CVE-2024-28122Lestrrat-go Jwx

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
Yes
Published
Mar 9, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

What happens

JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jwx.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/lestrrat-go/jwx < 1.2.29 1.2.29 go get github.com/lestrrat-go/jwx@v1.2.29
Go github.com/lestrrat-go/jwx < 1.2.29 1.2.29 go get github.com/lestrrat-go/jwx@v1.2.29
Go github.com/lestrrat-go/jwx/v2 < 2.0.21 2.0.21 go get github.com/lestrrat-go/jwx/v2@v2.0.21
Go github.com/lestrrat-go/jwx/v2 < 2.0.21 2.0.21 go get github.com/lestrrat-go/jwx/v2@v2.0.21

Per OSV / GitHub Advisories (GHSA-hj3v-m684-v259, GO-2024-2632). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lestrrat-gojwx< 1.2.29
lestrrat-gojwx≥ 2.0.0 < 2.0.21

Official sources

References

Links published by the sources. Open them with care.