Ubuntu Security Notice
USN-9059-1
ruby-jwt vulnerability
Details
It was discovered that ruby-jwt incorrectly verified HMAC signatures when the verification key was empty or missing. A remote attacker could possibly use this issue to forge tokens and bypass authentication.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | ruby-jwt | All versions before 1.0.0-3ubuntu0.1~esm1 (fixed in 1.0.0-3ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | ruby-jwt | All versions before 1.5.6-1ubuntu0.1~esm1 (fixed in 1.5.6-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | ruby-jwt | All versions before 2.1.0-2ubuntu0.1~esm1 (fixed in 2.1.0-2ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | ruby-jwt | All versions before 2.2.2-1ubuntu0.1~esm1 (fixed in 2.2.2-1ubuntu0.1~esm1) |
| Ubuntu:24.04:LTS | ruby-jwt | All versions before 2.7.1-1+deb13u1build0.24.04.1 (fixed in 2.7.1-1+deb13u1build0.24.04.1) |
| Ubuntu:26.04:LTS | ruby-jwt | All versions before 2.7.1-1+deb13u1build0.26.04.1 (fixed in 2.7.1-1+deb13u1build0.26.04.1) |