Skip to content
OpenAdvisories
Medium · 5.5 CVE-2018-11771 EUVD-2018-0618GHSA-hrmr-f5m6-m9pq

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

Published Aug 16, 2018 · Updated Sep 16, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Commons Compress 1.7 to 1.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcommons-compress-java 1.18-1 —
Debian 13 libcommons-compress-java 1.18-1 —
Debian 12 libcommons-compress-java 1.18-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcommons-compress-java No fix yet —
Ubuntu 16.04 LTS libcommons-compress-java No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.commons:commons-compress >= 1.7, < 1.18 1.18 GHSA-hrmr-f5m6-m9pq

Advisories 2

References