web-token jwt-framework 1.2.0 before 3.4.10 Missing Authentication in Chacha20Poly1305 Key Encryption
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-experimental |
≥ 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-experimental |
≤ 4.1.6→ Not listed |
Not listed |
| 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 1.2.0 before 3.4.10, jwt-experimental before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a missing integrity check in the experimental Chacha20Poly1305 key-encryption algorithm, which discards the Poly1305 tag in encryptKey() and calls openssl_decrypt() without it in decryptKey(). Attackers on the token path can modify the encrypted content encryption key undetected.
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