CVE-2022-30947: Path Traversal

Published May 17, 2022
·
Updated

Jenkins Git Plugin 4.11.1 and earlier 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.

Other sources

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.

Affected Software

7 affected componentsFixes available
maven/org.jenkins-ci.plugins:repo<=1.14.0
1.15.0
maven/org.jenkins-ci.plugins:mercurial<=2.16
2.16.1
maven/org.jenkins-ci.plugins:git<=4.11.1
4.11.2
Jenkins Git Jenkins<4.11.2
Jenkins Git Jenkins<=4.11.1
Jenkins Mercurial Jenkins<=2.16
Jenkins Repo Jenkins<=1.14.0

Event History

May 17, 2022
CVE Published
via MITRE·02:06 PM
Data Sourced
via MITRE·02:06 PM
Description
May 18, 2022
Advisory Published
12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-30947?

CVE-2022-30947 has a medium severity rating, indicating potential risks to the information contained in the Jenkins environment.

2

How do I fix CVE-2022-30947?

To fix CVE-2022-30947, upgrade the Jenkins Git Plugin to version 4.11.2 or later, the Mercurial Plugin to version 2.16.1, and the Repo Plugin to version 1.15.0.

3

What versions are affected by CVE-2022-30947?

CVE-2022-30947 affects Jenkins Git Plugin versions 4.11.1 and earlier, Mercurial Plugin versions 2.16 and earlier, and Repo Plugin versions 1.14.0 and earlier.

4

What is the impact of CVE-2022-30947?

The impact of CVE-2022-30947 allows attackers to access limited information about other projects' source code management contents if they can configure pipelines.

5

Who is at risk with CVE-2022-30947?

Organizations using Jenkins with the affected plugin versions for Git, Mercurial, or Repo are at risk for data exposure through this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203