GHSA-j472-mcq2-95p6
OS Command Injection in Jenkins
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | < 2.73.2 | 2.73.2 |
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.74, < 2.84 | 2.84 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins 2.73.1 and earlier, 2.83 and earlier users with permission to create or configure agents in Jenkins could configure a launch method called 'Launch agent via execution of command on master'. This allowed them to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of this launch method now requires the Run Scripts permission typically only granted to administrators.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000393
- https://github.com/jenkinsci/jenkins/commit/67f68c181033cbabf2075769e0f846f58c226c08
- https://github.com/jenkinsci/jenkins/commit/d7ea3f40efedd50541a57b943d5f7bbed046d091
- https://github.com/jenkinsci/jenkins
- https://jenkins.io/security/advisory/2017-10-11