MEDIUM6.5
GHSA-qr42-82qj-mw65
Improper Limitation of a Pathname to a Restricted Directory in Jenkins
Quick fix
GHSA-qr42-82qj-mw65 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.176.2</version> for org.jenkins-ci.main:jenkins-coreDetails
A path traversal vulnerability in Jenkins 2.185 and earlier, LTS 2.176.1 and earlier in `core/src/main/java/hudson/model/FileParameterValue.java` allowed 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.176.2Fix
# pom.xml: bump <version>2.176.2</version> for org.jenkins-ci.main:jenkins-coreMaven/org.jenkins-ci.main:jenkins-core
Introduced in:
2.177Fixed in: 2.186Fix
# pom.xml: bump <version>2.186</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-10352[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/18fc7c0b466553cbd4f790db3270964305bee7f9[WEB]
- https://access.redhat.com/errata/RHSA-2019:2503[WEB]
- https://access.redhat.com/errata/RHSA-2019:2548[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://jenkins.io/security/advisory/2019-07-17/#SECURITY-1424[WEB]
- https://web.archive.org/web/20200227033157/http://www.securityfocus.com/bid/109299[WEB]
- https://www.tenable.com/security/research/tra-2019-35[WEB]
- http://www.openwall.com/lists/oss-security/2019/07/17/2[WEB]