GitHub Advisoryadvisory · Maven

GHSA-8vfc-fcr2-47pj Path traversal in Jenkins REPO Plugin

LOW Published 2022-05-18 Modified 2023-12-15 Official page ↗
Aliases
CVE-2022-30949
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:repo, org.jenkins-ci.plugins:mercurial, org.jenkins-ci.plugins:git
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-06-02

Affected packages

• Maven org.jenkins-ci.plugins:repo: < 1.14.1 → fixed in 1.14.1 • Maven org.jenkins-ci.plugins:mercurial: < 2.16.1 → fixed in 2.16.1 • Maven org.jenkins-ci.plugins:git: < 4.11.2 → fixed in 4.11.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-30949 Jenkins REPO Plugin 1.14.0 and earlier allows attackers able to configure pipelines to check out some SCM repositories stored on the… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References