react-native-pure-jwtのJWT検証回避、修正版あり
Summary
react-native-pure-jwtの3.1.1より前では、Android上で署名のないJWTが検証を通り、なりすましにつながります。使っているアプリの開発元は3.1.1へ更新し、アプリを再配布してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
react-native-pure-jwtの3.1.1より前では、Android上で署名のないJWTが検証を通り、なりすましにつながります。使っているアプリの開発元は3.1.1へ更新し、アプリを再配布してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| zaguiinireact-native-pure-jwt |
< 3.1.1→ 3.1.1 |
3.1.1 |
Original description The description as published by the source.
react-native-pure-jwt before 3.1.1 on Android contains a signature verification bypass vulnerability that allows unauthenticated attackers to forge tokens because RNPureJwtModule decode() calls JJWT parse() without algorithm pinning. Attackers can craft a token with header alg none and an empty signature to have arbitrary claims accepted as verified, forging identities or roles.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com