web-token jwt-framework・jwt-libraryでECDH-ES鍵導出の脆弱性、暗号化された情報が復号されるおそれ
Summary
web-token jwt-framework・jwt-libraryのConcatKDF処理に脆弱性があり、JWEの暗号化された内容が復号されるおそれがあります。4.2.x系は4.2.4で修正されており、jwt-encryption-algorithm-ecdh-esは3.2.10までが対象です。修正版への更新を急いでください。
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のConcatKDF処理に脆弱性があり、JWEの暗号化された内容が復号されるおそれがあります。4.2.x系は4.2.4で修正されており、jwt-encryption-algorithm-ecdh-esは3.2.10までが対象です。修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-library |
≥ 4.2.0, < 4.2.4→ 4.2.4 |
4.2.4 |
| web-tokenjwt-framework |
≥ 4.2.0, < 4.2.4→ 4.2.4 |
4.2.4 |
| web-tokenjwt-encryption-algorithm-ecdh-es |
1.2.0 – 3.2.10→ Not listed |
Not listed |
Original description The description as published by the source.
web-token jwt-framework and jwt-library before 3.4.12, 4.0.x before 4.0.8, 4.1.x before 4.1.10, and 4.2.x before 4.2.4, and jwt-encryption-algorithm-ecdh-es through 3.2.10, have a ConcatKDF::generate() that performs a single SHA-256 round, deriving at most 32 bytes for ECDH-ES and ECDH-SS direct key agreement. Anyone holding a JWE using A256CBC-HS512 can decrypt it under an all-zero AES key, while A192CBC-HS384 content keys have only 64-bit strength.
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