Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.commons/commons-compress
  4. ›
  5. CVE-2018-11771

CVE-2018-11771: Loop with Unreachable Exit Condition (Infinite Loop)

August 16, 2018 (updated October 3, 2019)

When reading a specially crafted ZIP archive, the read method of Apache Commons ZipArchiveInputStream can fail to return the correct EOF indication after the end of the stream has been reached. This can lead to an infinite stream, which can be used to mount a denial of service attack against services that use compressed zip package.

References

  • www.securityfocus.com/bid/105139
  • www.securitytracker.com/id/1041503
  • nvd.nist.gov/vuln/detail/CVE-2018-11771

Code Behaviors & Features

Detect and mitigate CVE-2018-11771 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.0 up to 1.17.0

Fixed versions

  • 1.18

Solution

Upgrade to version 1.18 or above.

Impact 5.5 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/org.apache.commons/commons-compress/CVE-2018-11771.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.