ADVISORIES

GitHub Advisory Database

GHSA-9mj6-hxhv-w67j

jose2go is vulnerable to a JWT bomb attack through its decode function

Details

An issue was discovered in dvsekhvalnov jose2go 1.5.0 thru 1.7.0 allowing an attacker to cause a Denial-of-Service (DoS) via crafted JSON Web Encryption (JWE) token with an exceptionally high compression ratio.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/dvsekhvalnov/jose2go
All versions before 1.7.0 (fixed in 1.7.0)

References