web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| web-token | jwt-library | unaffected |
|
|||||||||||||||||||||||||||
| web-token | jwt-framework | unaffected |
|
|||||||||||||||||||||||||||
| web-token | jwt-encryption | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Nats | Jwt Library |
|
||||||||||||||||||||||||||||||||||||
| Web-token | Jwt-encryption |
|
||||||||||||||||||||||||||||||||||||
| Web-token | Jwt-framework |
|
||||||||||||||||||||||||||||||||||||
| Web-token | Jwt-library |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.100% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Web-token
Web-token jwt-encryption Web-token jwt-framework Web-token jwt-library |
|
| Vendors & Products |
Web-token
Web-token jwt-encryption Web-token jwt-framework Web-token jwt-library |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts. | |
| Title | web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption | |
| First Time appeared |
Nats
Nats jwt Library |
|
| Weaknesses | CWE-326 | |
| CPEs | cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Nats
Nats jwt Library |
|
| References |
| |
| Metrics |
cvssV3_1
|