Improper Input Validation Affecting org.apache.commons:commons-compress package, versions [1.22,1.24.0)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHECOMMONS-5901530
- published 14 Sep 2023
- disclosed 14 Sep 2023
- credit Yakov Shafranovich
Introduced: 14 Sep 2023
CVE-2023-42503 Open this link in a new tabHow to fix?
Upgrade org.apache.commons:commons-compress
to version 1.24.0 or higher.
Overview
org.apache.commons:commons-compress is an API for working with compression and archive formats.
Affected versions of this package are vulnerable to Improper Input Validation when parsing TAR files. An attacker can manipulate file modification times headers, leading to a denial of service issue via CPU consumption.
Note: This is only exploitable if applications are using the CompressorStreamFactory
class (with auto-detection of file types), TarArchiveInputStream
, and TarFile
classes to parse TAR files.