Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-35515 (High) detected in commons-compress-1.9.jar, commons-compress-1.8.1.jar #399

Open
mend-for-github-com bot opened this issue Jan 5, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jan 5, 2023

CVE-2021-35515 - High Severity Vulnerability

Vulnerable Libraries - commons-compress-1.9.jar, commons-compress-1.8.1.jar

commons-compress-1.9.jar

Apache Commons Compress software defines an API for working with compression and archive formats. These include: bzip2, gzip, pack200, lzma, xz, Snappy, traditional Unix Compress, DEFLATE and ar, cpio, jar, tar, zip, dump, 7z, arj.

Path to dependency file: /hive-agent/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar,/home/wss-scanner/.m2/repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar

Dependency Hierarchy:

  • hive-common-3.1.2.jar (Root Library)
    • commons-compress-1.9.jar (Vulnerable Library)
commons-compress-1.8.1.jar

Apache Commons Compress software defines an API for working with compression and archive formats. These include: bzip2, gzip, pack200, lzma, xz, Snappy, traditional Unix Compress and ar, cpio, jar, tar, zip, dump, 7z, arj.

Path to dependency file: /security-admin/pom.xml

Path to vulnerable library: /canner/.m2/repository/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar

Dependency Hierarchy:

  • commons-compress-1.8.1.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2021-07-13

URL: CVE-2021-35515

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://commons.apache.org/proper/commons-compress/security-reports.html

Release Date: 2021-07-13

Fix Resolution: 1.21


⛑️ Automatic Remediation is available for this issue

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 5, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-35515 (High) detected in commons-compress-1.8.1.jar CVE-2021-35515 (High) detected in commons-compress-1.9.jar, commons-compress-1.8.1.jar Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants