GHSA-8vfc-fcr2-47pj
Path traversal in Jenkins REPO Plugin
Quick fix
GHSA-8vfc-fcr2-47pj — org.jenkins-ci.plugins:repo: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.14.1</version> for org.jenkins-ci.plugins:repoDetails
SCMs support a number of different URL schemes, including local file system paths (e.g. using `file:` URLs).
Historically in Jenkins, only agents checked out from SCM, and if multiple projects share the same agent, there is no expected isolation between builds besides using different workspaces unless overridden. Some Pipeline-related features check out SCMs from the Jenkins controller as well.
This allows attackers able to configure pipelines to check out some SCM repositories stored on the Jenkins controller’s file system using local paths as SCM URLs, obtaining limited information about other projects' SCM contents.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 1.14.1# pom.xml: bump <version>1.14.1</version> for org.jenkins-ci.plugins:repo0Fixed in: 2.16.1# pom.xml: bump <version>2.16.1</version> for org.jenkins-ci.plugins:mercurial0Fixed in: 4.11.2# pom.xml: bump <version>4.11.2</version> for org.jenkins-ci.plugins:gitReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-30949[ADVISORY]
- https://github.com/jenkinsci/git-plugin/commit/b295606e0b865c298fde27bea14f9b7535a976e6[WEB]
- https://github.com/jenkinsci/mercurial-plugin/commit/55904fbb8c9d3e0b36fc26330374904cb68e8758[WEB]
- https://github.com/jenkinsci/repo-plugin/commit/8c9cbb88baffc64d1b63183235eb86c773108235[WEB]
- https://github.com/jenkinsci/repo-plugin[PACKAGE]
- https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478[WEB]
- http://www.openwall.com/lists/oss-security/2022/05/17/8[WEB]