Improper Limitation of a Pathname to a Restricted Directory in Jenkins
Jenkins project Jenkins
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core Maven |
|
|
Original description
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.