CVE-2018-1002200
Improper Limitation of a Pathname to a Restricted Directory in plexus-archiver
Description
plexus-archiver before 3.6.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.codehaus.plexus » plexus-archiver | < 3.6.0 | 3.6.0 |
Blast radius
62% of the dependent artifacts (2,129) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 18,415 |
| 2 hops | 17,614 |
| 3 hops | 14,862 |
| 4 hops | 13,978 |
| 5 hops | 5,412 |
| 6 hops | 5,197 |
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-surefire-plugin67,265 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-assembly-plugin28,314 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-shade-plugin18,801 usages
- org.apache.maven.plugins » maven-enforcer-plugin16,359 usages
- org.apache.maven.plugins » maven-failsafe-plugin11,158 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
- org.codehaus.mojo » exec-maven-plugin8,105 usages
- org.apache.maven.plugins » maven-war-plugin6,519 usages
- org.apache.maven.plugins » maven-plugin-plugin6,502 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-1002200 | nvd.nist.gov |
| Package | codehaus-plexus/plexus-archiver | github.com |
| Web | codehaus-plexus/plexus-archiver pull request #87 | github.com |
| Web | codehaus-plexus/plexus-archiver commit f8f4233 | github.com |
| Web | errata/RHSA-2018:1836 | access.redhat.com |
| Web | errata/RHSA-2018:1837 | access.redhat.com |
| Web | snyk/zip-slip-vulnerability | github.com |
| Web | research/zip-slip-vulnerability | snyk.io |
| Web | vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-31680 | snyk.io |
| Web | security/2018/dsa-4227 | debian.org |
