medium6.5
CVE-2018-1000406
Path Traversal in Jenkins
Impact
A path traversal vulnerability exists in Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/hudson/model/FileParameterValue.java that allows attackers with Job/Configure permission to define a file parameter with a file name outside the intended directory, resulting in an arbitrary file write on the Jenkins master when scheduling a build.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | <= 2.138.1 | 2.138.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Jenkins | through 2.138.1 through 2.145 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/106532
- https://jenkins.io/security/advisory/2018-10-10/#SECURITY-1074
- https://github.com/advisories/GHSA-3pr8-rf62-g893
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000406
- https://github.com/jenkinsci/jenkins/commit/c3351d2e7c3edfee82b9470e9aa1168982296072