CVE-2018-1324
Apache Commons Compress vulnerable to denial of service due to infinite loop
Description
A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.liferay » com.liferay.portal.tools.bundle.support | >= 3.2.7, < 3.7.4 | 3.7.4 |
| io.takari » commons-compress | See advisory | - |
| org.apache.commons » commons-compress | >= 1.11, < 1.16 | 1.16 |
Blast radius
46% of the dependent artifacts (2,653) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 11,893 |
| 2 hops | 30,057 |
| 3 hops | 28,382 |
| 4 hops | 16,854 |
| 5 hops | 12,378 |
| 6 hops | 2,383 |
Most used dependents
- org.apache.maven.plugins » maven-source-plugin87,037 usages
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.apache.maven.plugins » maven-assembly-plugin28,314 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.apache.maven.plugins » maven-war-plugin6,519 usages
- org.apache.maven.plugins » maven-plugin-plugin6,502 usages
- org.testcontainers » testcontainers4,109 usages
- org.apache.rat » apache-rat-plugin2,568 usages
- com.android.tools.build » gradle2,197 usages
- org.jetbrains.dokka » dokka-maven-plugin1,520 usages
- org.testcontainers » postgresql1,441 usages
- org.owasp » dependency-check-maven1,289 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1324 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-h436-432x-8fvx | github.com |
| Package | apache/commons-compress | github.com |
| Web | apache/commons-compress commit 2a2f1dc | github.com |
| Web | pdf/2306.05534.pdf | arxiv.org |
| Web | jensdietrich/xshady-release CVE-2018-1324 | github.com |
| Web | thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089@<dev.commons.apache.o ... | lists.apache.org |
| Web | thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd@<dev.creadur.apache.o ... | lists.apache.org |
| Web | thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@<commits.pulsar.apach ... | lists.apache.org |
| Web | thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387@<issues.beam.apache. ... | lists.apache.org |
