Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS04NGNtLXZqd20tbTk3Oc4AAgY3
Path traversal in Jenkins Git Mercurial and Repo Plugins
Jenkins 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.
Permalink: https://github.com/advisories/GHSA-84cm-vjwm-m979JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NGNtLXZqd20tbTk3Oc4AAgY3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 12 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-84cm-vjwm-m979, CVE-2022-30947
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-30947
- https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478
- http://www.openwall.com/lists/oss-security/2022/05/17/8
- https://github.com/jenkinsci/git-plugin/commit/b295606e0b865c298fde27bea14f9b7535a976e6
- https://github.com/jenkinsci/mercurial-plugin/commit/55904fbb8c9d3e0b36fc26330374904cb68e8758
- https://github.com/jenkinsci/repo-plugin/commit/3c8e6236b1088fc138a1a3e6af5ebbcb8b616f2f
- https://github.com/advisories/GHSA-84cm-vjwm-m979
Blast Radius: 1.0
Affected Packages
maven:org.jenkins-ci.plugins:repo
Affected Version Ranges: <= 1.14.0Fixed in: 1.15.0
maven:org.jenkins-ci.plugins:mercurial
Affected Version Ranges: <= 2.16Fixed in: 2.16.1
maven:org.jenkins-ci.plugins:git
Affected Version Ranges: <= 4.11.1Fixed in: 4.11.2