CVE-2021-36373: Improper Handling of Length Parameter Inconsistency in Apache Ant
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.32988%
CWE
Published
8/2/2021
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.ant:ant | maven | < 1.9.16 | 1.9.16 |
org.apache.ant:ant | maven | >= 1.10.0, < 1.10.11 | 1.10.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is related to the handling of TAR archives and the improper handling of length parameters. Functions responsible for reading TAR archives, such as those in TarInputStream
, are likely to be involved. The patch for CVE-2021-36373
likely addresses how these lengths are validated or processed to prevent excessive memory allocation.