Skip to content

← Public intelligence

Maven package

org.apache.commons:commons-compress

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

9 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.7MavenPublished

    Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file

    CVE-2024-26308 · GHSA-4265-ccf5-phj5

    Affected
    • Maven org.apache.commons:commons-compress >= 1.21, < 1.26.0
    Fixed in
    1.26.0· Vendor fix available
    Issue
    Allocation of Resources Without Limits or Throttling vulnerability in Apache Commons Compress. This issue affects Apache Commons Compress: from 1.21 before 1.26. Users are recommended to upgrade to version 1.26, which fixes the issue.

    Recommended action: Upgrade to 1.26.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.9MavenPublished

    Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file

    CVE-2024-25710 · GHSA-4g9r-vxhx-9pgx

    Affected
    • Maven org.apache.commons:commons-compress >= 1.3, < 1.26.0
    Fixed in
    1.26.0· Vendor fix available
    Issue
    Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Apache Commons Compress. This issue affects Apache Commons Compress: from 1.3 through 1.25.0. Users are recommended to upgrade to version 1.26.0 which fixes the issue.

    Recommended action: Upgrade to 1.26.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 5.5MavenPublished

    Apache Commons Compress denial of service vulnerability

    CVE-2023-42503 · GHSA-cgwf-w82q-5jrr

    Affected
    • Maven org.apache.commons:commons-compress >= 1.22, < 1.24.0
    Fixed in
    1.24.0· Vendor fix available
    Issue
    Improper Input Validation, Uncontrolled Resource Consumption vulnerability in Apache Commons Compress in TAR parsing.This issue affects Apache Commons Compress: from 1.22 before 1.24.0. Users are recommended to upgrade to version 1.24.0, which fixes the issue. A third party can create a malformed TAR file by manipulating file modification times headers, which when parsed with Apache Commons Compress, will cause a denial of service issue via CPU consumption. In version 1.22 of Apache Commons Compress, support was added for file modification times with higher precision (issue COMPRESS-612 [1]). The format for the PAX extended headers carrying this data consists of two numbers separated by a period [2], indicating seconds and subsecond precision (for example “1647221103.5998539”). The impacted fields are “atime”, “ctime”, “mtime” and “LIBARCHIVE.creationtime”. No input validation is performed prior to the parsing of header values. Parsing of these numbers uses the BigDecimal [3] class…

    Recommended action: Upgrade to 1.24.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. UnratedMavenPublished

    Uncontrolled Resource Consumption in Apache Commons Compress

    CVE-2012-2098 · GHSA-6fxm-66hq-fc96

    Affected
    • Maven org.apache.commons:commons-compress < 1.4.1
    Fixed in
    1.4.1· Vendor fix available
    Issue
    Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream) in Apache Commons Compress before 1.4.1 allows remote attackers to cause a denial of service (CPU consumption) via a file with many repeating inputs.

    Recommended action: Upgrade to 1.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.5MavenPublished

    Improper Handling of Length Parameter Inconsistency in Compress

    CVE-2021-36090 · GHSA-mc84-pj99-q6hh

    Affected
    • Maven org.apache.commons:commons-compress < 1.21
    Fixed in
    1.21· Vendor fix available
    Issue
    When reading a specially crafted ZIP archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' zip package.

    Recommended action: Upgrade to 1.21 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 7.5MavenPublished

    Improper Handling of Length Parameter Inconsistency in Compress

    CVE-2021-35517 · GHSA-xqfj-vm6h-2x34

    Affected
    • Maven org.apache.commons:commons-compress < 1.21
    Fixed in
    1.21· Vendor fix available
    Issue
    When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.

    Recommended action: Upgrade to 1.21 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 7.5MavenPublished

    Improper Handling of Length Parameter Inconsistency in Compress

    CVE-2021-35516 · GHSA-crv7-7245-f45f

    Affected
    • Maven org.apache.commons:commons-compress < 1.21
    Fixed in
    1.21· Vendor fix available
    Issue
    When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

    Recommended action: Upgrade to 1.21 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 7.5MavenPublished

    Excessive Iteration in Compress

    CVE-2021-35515 · GHSA-7hfm-57qf-j43q

    Affected
    • Maven org.apache.commons:commons-compress < 1.21
    Fixed in
    1.21· Vendor fix available
    Issue
    When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

    Recommended action: Upgrade to 1.21 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 5.5MavenPublished

    Moderate severity vulnerability that affects org.apache.commons:commons-compress

    CVE-2018-11771 · GHSA-hrmr-f5m6-m9pq

    Affected
    • Maven org.apache.commons:commons-compress >= 1.7, < 1.18
    Fixed in
    1.18· Vendor fix available
    Issue
    When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's ZipArchiveInputStream can fail to return the correct EOF indication after the end of the stream has been reached. When combined with a java.io.InputStreamReader this can lead to an infinite stream, which can be used to mount a denial of service attack against services that use Compress' zip package.

    Recommended action: Upgrade to 1.18 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →