CVE-2018-11771 Moderate severity vulnerability that affects org.apache.commons:commons-compress
Attackers can cause a denial of service by providing a crafted ZIP archive that triggers an infinite loop in Apache Commons Compress.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-11771?
CVE-2018-11771 is a medium-severity denial of service vulnerability in Oracle Weblogic Server, published on 16 Aug 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-835
Which versions are affected by CVE-2018-11771?
2 open source packages ship an affected version, including org.apache.commons:commons-compress. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.commons:commons-compress Maven | From 1.7 | 1.18 |
org.apache.commons:commons-compress Maven | From 1.7 | 1.18 |
Products include Apache Commons Compress, Oracle Weblogic Server.
How do I fix CVE-2018-11771?
Upgrade org.apache.commons:commons-compress to 1.18 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-11771 being exploited?
There is no known exploitation of CVE-2018-11771 in the wild and no public exploit code.
Other vulnerabilities in Oracle Weblogic Server
- CVE-2024-25710 Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file
- CVE-2021-35515 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
- CVE-2021-35516 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
- CVE-2021-35517 Apache Commons Compress 1.1 to 1.20 denial of service vulnerability
- CVE-2021-36090 Apache Commons Compress 1.0 to 1.20 denial of service vulnerability
Sources
Also known as DEBIAN-CVE-2018-11771, GHSA-hrmr-f5m6-m9pq, UBUNTU-CVE-2018-11771.