jwt-frameworkにRSA鍵の大きさ無制限によるサービス拒否の脆弱性
Summary
細工したRSA鍵を送られると、jwt-frameworkとjwt-libraryでCPUが数秒単位で占有され、サービス拒否の状態になるおそれがあります。影響するのは3.4.13未満、4.0.9未満、4.1.11未満、4.2.6未満で、修正版は3.4.13、4.0.9、4.1.11、4.2.6です。修正版への更新をおすすめします。
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.
細工したRSA鍵を送られると、jwt-frameworkとjwt-libraryでCPUが数秒単位で占有され、サービス拒否の状態になるおそれがあります。影響するのは3.4.13未満、4.0.9未満、4.1.11未満、4.2.6未満で、修正版は3.4.13、4.0.9、4.1.11、4.2.6です。修正版への更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-library |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-framework |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-core |
≤ 3.2.10→ Not listed |
Not listed |
| web-tokenjwt-signature |
< 2.0.4→ 2.0.4 |
2.0.4 |
| web-tokenjwt-encryption |
< 2.0.4→ 2.0.4 |
2.0.4 |
| web-tokenjwt-signature-algorithm-rsa |
≤ 3.2.10→ Not listed |
Not listed |
| web-tokenjwt-encryption-algorithm-rsa |
≤ 3.2.10→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137560 php-web-token-jwt-framework Fix available
Original description The description as published by the source.
Web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com