web-token jwt-frameworkで認証前の遠隔からサービス停止に陥る脆弱性
Summary
JSON General形式のJWSトークンを処理する際の処理方式により、大量の空の署名を含むトークンでCPUが使い果たされ、サービス停止を引き起こすおそれがあります。影響するのはjwt-framework・jwt-libraryの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.
JSON General形式のJWSトークンを処理する際の処理方式により、大量の空の署名を含むトークンでCPUが使い果たされ、サービス停止を引き起こすおそれがあります。影響するのはjwt-framework・jwt-libraryの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-signature |
≤ 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-137580 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 parse JSON General serialized JWS tokens in quadratic time because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature(), which clones the token. Unauthenticated remote attackers can send large tokens holding thousands of empty signatures to exhaust CPU and occupy PHP workers without any valid key or token.
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