Advisories

ClassGraph before 4.8.201, 5.0.3, and 6.0.3 DoS via Resource.load() Decompression

Go back
Severity
high
Date
Affecting
  • classgraph < 4.8.201

  • classgraph >= 5.0.0, < 5.0.3

  • classgraph >= 6.0.0, < 6.0.3

  • classgraph-vfs >= 5.0.0, < 5.0.3

  • classgraph-vfs >= 6.0.0, < 6.0.3

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
Wayde Shi from PayPal Cyber Security Team
Description
ClassGraph before 4.8.201, 5.x before 5.0.3, and 6.x before 6.0.3 contains a denial of service vulnerability that allows attackers to exhaust memory by supplying archives with unbounded deflated entries. Attackers can provide a crafted jar or zip whose small entry inflates to hundreds of megabytes when read via Resource.load(), Resource.open(), or getContentAsString(), crashing the scanning JVM with an OutOfMemoryError.

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.