PT-2022-20401 · Jenkins · Jenkins Git Plugin+1
Daniel Beck
·
Published
2022-05-17
·
Updated
2024-01-09
·
CVE-2022-30947
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Git Plugin versions 4.11.1 and earlier
Description
The issue allows attackers who can configure pipelines to check out some SCM repositories stored on the Jenkins controller's file system using local paths as SCM URLs. This enables them to obtain limited information about other projects' SCM contents. Historically, Jenkins only had agents checking out from SCM, and there was no expected isolation between builds besides using different workspaces unless overridden. Some Pipeline-related features check out SCMs from the Jenkins controller as well, which contributes to this issue.
Recommendations
For Jenkins Git Plugin versions 4.11.1 and earlier, consider updating to a version later than 4.11.1 to resolve the issue. As a temporary workaround, restrict the configuration of pipelines to trusted users and limit the use of local paths as SCM URLs to minimize the risk of exploitation.
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Git Plugin