MEDIUM6.5
GHSA-3pr8-rf62-g893
Path Traversal in Jenkins
Quick fix
GHSA-3pr8-rf62-g893 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.138.2</version> for org.jenkins-ci.main:jenkins-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.jenkins-ci.main:jenkins-core
Introduced in:
0Fixed in: 2.138.2Fix
# pom.xml: bump <version>2.138.2</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.140Fixed in: 2.146Fix
# pom.xml: bump <version>2.146</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000406[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/c3351d2e7c3edfee82b9470e9aa1168982296072[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://jenkins.io/security/advisory/2018-10-10/#SECURITY-1074[WEB]
- http://www.securityfocus.com/bid/106532[WEB]