CVE-2021-35517
Java vulnerability analysis and mitigation

Overview

CVE-2021-35517 is a vulnerability in Apache Commons Compress discovered by OSS Fuzz that affects versions 1.1 to 1.20. When reading a specially crafted TAR archive, the software can be made to allocate large amounts of memory that leads to an out of memory error even for very small inputs (OSS Security).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. It is classified under CWE-770 (Allocation of Resources Without Limits or Throttling) and CWE-130 (Improper Handling of Length Parameter Inconsistency) (NVD).

Impact

This vulnerability could be used to mount a denial of service attack against services that use Compress' tar package by causing out of memory errors even with very small malicious inputs (OSS Security).

Exploitability

The vulnerability is remotely exploitable without requiring authentication. An attacker can trigger the vulnerability by sending specially crafted TAR archives to services using the affected versions of Apache Commons Compress (NVD).

Mitigation and workarounds

Users should upgrade to Apache Commons Compress version 1.21 or later which contains fixes for this vulnerability (OSS Security). Multiple vendors have released patches including Oracle in their Critical Patch Updates (Oracle Advisory) and NetApp in their security advisory (NetApp Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53837CRITICAL9.9
  • Java logoJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesSep 18, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-54148HIGH8.1
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026
CVE-2026-85058HIGH7.5
  • Java logoJava
  • io.moquette:moquette-broker
NoYesSep 18, 2026
CVE-2026-54147MEDIUM6.5
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management