Advisories

web-token jwt-framework before 3.4.12 ECDH-ES Weak Key Derivation via ConcatKDF

Go back
Severity
high
Date
Affecting
  • jwt-library >= 3.3.0, < 3.4.12

  • jwt-library >= 4.0.0, < 4.0.8

  • jwt-library >= 4.1.0, < 4.1.10

  • jwt-library >= 4.2.0, < 4.2.4

  • jwt-framework < 3.4.12

  • jwt-framework >= 4.0.0, < 4.0.8

  • jwt-framework >= 4.1.0, < 4.1.10

  • jwt-framework >= 4.2.0, < 4.2.4

  • jwt-encryption-algorithm-ecdh-es >= 1.2.0, <= 3.2.10

CWE
  • CWE-325 Missing Cryptographic Step
CVSS
8.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
JeroenRobben
Description
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.

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.