Advisories

Web-Token jwt-framework before 3.4.13 JWE Token Malleability via Non-Empty Encrypted Key

Go back
Severity
low
Date
Affecting
  • jwt-library < 3.4.13

  • jwt-library >= 4.0.0, < 4.0.9

  • jwt-library >= 4.1.0, < 4.1.11

  • jwt-library >= 4.2.0, < 4.2.6

  • jwt-framework < 3.4.13

  • jwt-framework >= 4.0.0, < 4.0.9

  • jwt-framework >= 4.1.0, < 4.1.11

  • jwt-framework >= 4.2.0, < 4.2.6

  • jwt-encryption <= 3.2.10

CWE
  • CWE-345 Insufficient Verification of Data Authenticity
CVSS
2.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Description
Web-Token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6, and jwt-encryption through 3.2.10, contain a token malleability flaw because JWEDecrypter does not reject a non-empty JWE Encrypted Key with the dir, ECDH-ES and ECDH-SS algorithms, which the authentication tag does not cover. Attackers holding one token can fill the Encrypted Key with arbitrary bytes to derive unlimited distinct token strings that still decrypt, bypassing replay caches, single-use registries or revocation deny-lists keyed on the token string.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.