| Package | Affected versions | Patched versions |
|---|---|---|
| github.com/go-jose/go-jose/v3 | ≤ 3.0.5 | |
| github.com/go-jose/go-jose/v4 | < 4.1.5 | 4.1.5 |
Parsing deeply nested JSON structures can hit Go's stack limit, causing the application to crash.
Note: this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4.
Denial of service vulnerability. Any application that parses untrusted JSON via go-jose is exposed.
Reject large inputs before parsing them.
Thanks to Dohyun Kim (@azza999), Joshua Rogers of AISLE Research, and Sueun Cho for alerting us to the need to patch this.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free