Advisories

JJWT through 0.13.0 Memory Exhaustion via Unbounded JWE Payload Decompression

Go back
Severity
high
Date
Affecting
  • JJWT <= 0.13.0

CWE
  • CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
CVSS
8.2
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
JJWT through 0.13.0 contains an unbounded decompression vulnerability in DefaultJwtParser that allows unauthenticated remote attackers to exhaust memory by submitting highly compressible JWEs. Attackers who know the recipient's public key can craft small DEF or GZIP compressed JWEs using RSA-OAEP, RSA1_5 or ECDH-ES that inflate to hundreds of megabytes, causing OutOfMemoryError and denial of service.

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.