Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS01Nzg2LTNxamctbXI4OM4AAgY-

Path traversal in Jenkins Mercurial Plugin

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-5786-3qjg-mr88
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01Nzg2LTNxamctbXI4OM4AAgY-
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: almost 2 years ago
Updated: about 1 year ago


CVSS Score: 3.7
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-5786-3qjg-mr88, CVE-2022-30948
References: Repository: https://github.com/jenkinsci/mercurial-plugin
Blast Radius: 1.0

Affected Packages

maven:org.jenkins-ci.plugins:mercurial
Affected Version Ranges: <= 2.16
Fixed in: 2.16.1