web-token jwt-frameworkで RSA1_5の復号時の処理時間差から暗号鍵が復元される脆弱性
Summary
web-token jwt-framework・jwt-libraryにおいて、RSA1_5の復号処理の応答時間の差から暗号化された鍵の内容が推測される脆弱性です。影響を受けるのは4.1.0以上4.1.7未満で、修正版は4.1.7です。4.1系を使っている場合は、4.1.7への更新を優先して確認してください。
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.
web-token jwt-framework・jwt-libraryにおいて、RSA1_5の復号処理の応答時間の差から暗号化された鍵の内容が推測される脆弱性です。影響を受けるのは4.1.0以上4.1.7未満で、修正版は4.1.7です。4.1系を使っている場合は、4.1.7への更新を優先して確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-library |
≥ 4.1.0, < 4.1.7→ 4.1.7 |
4.1.7 |
| web-tokenjwt-framework |
≥ 4.1.0, < 4.1.7→ 4.1.7 |
4.1.7 |
| Packagistweb-token/jwt-library |
≥ 4.1.0, < 4.1.7→ 4.1.7 |
4.1.7 |
Original description The description as published by the source.
web-token jwt-framework and jwt-library before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a padding oracle in RSACrypt::decryptWithRSA15() because RSA1_5 decryption lacks implicit rejection, so invalid padding, wrong CEK length, and valid padding take measurably different time. Remote attackers can submit adaptively crafted JWE encrypted_key values and measure these timing differences to recover the wrapped content encryption key.
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
- web github.com
- web github.com