GitHub Advisoryadvisory · Maven

GHSA-hrmr-f5m6-m9pq Moderate severity vulnerability that affects org.apache.commons:commons-compress

MEDIUM Published 2018-10-19 Modified 2024-06-05 Official page ↗
Aliases
CVE-2018-11771
Ecosystem
Maven
Packages
org.apache.commons:commons-compress
Severity
Moderate
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-835
Reviewed
2020-06-16

Affected packages

• Maven org.apache.commons:commons-compress: >= 1.7, < 1.18 → fixed in 1.18

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-11771 When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's ZipArchiveInputStream can fail to… vulnerability

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References