Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lestrrat-go | jwx | >= 2.0.0, < 2.0.21, >= 1.2.0, < 1.2.29 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | boring-registry | 0.13.2-r2 | — |
| Wolfi rolling | falcoctl | 0.7.3-r3 | — |
| Wolfi rolling | mc +1 | 0.20231220.071422-r4 | — |
| Wolfi rolling | minio +1 | 0.20231220.010002-r4 | — |
| Wolfi rolling | spire-agent +2 | 1.9.1-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/lestrrat-go/jwx | < 1.2.29 | 1.2.29 | GHSA-hj3v-m684-v259 |
| Go | github.com/lestrrat-go/jwx/v2 | < 2.0.21 | 2.0.21 | GHSA-hj3v-m684-v259 |