Description
expo-jwt before 1.8.3 contains an authentication bypass vulnerability that allows remote attackers to skip signature verification by setting alg none in the JWT header. Attackers can forge unsigned tokens with arbitrary claims, such as admin roles or other user identities, which Decoder.verifySignature() accepts even when a real secret is supplied.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
blake-simpson expo-jwt
Default version status: unaffected
0 to < 1.8.3affected
pkg:npm/expo-jwtReferences
- https://github.com/blake-simpson/expo-jwt/pull/52 ↗
- https://github.com/blake-simpson/expo-jwt/commit/b332ef52a0245422f5999768dc27fc6a70d5d9e6 ↗
- https://github.com/blake-simpson/expo-jwt/blob/1.8.2/lib/decoder.ts#L56-L86 ↗
- https://www.vulncheck.com/advisories/expo-jwt-before-1.8.3-signature-verification-bypass-via-alg-none-header ↗