GHSA-5786-3qjg-mr88

Suggest an improvement
Source
https://github.com/advisories/GHSA-5786-3qjg-mr88
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5786-3qjg-mr88/GHSA-5786-3qjg-mr88.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5786-3qjg-mr88
Aliases
Published
2022-05-18T00:00:39Z
Modified
2023-11-08T04:09:20.518752Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Path traversal in Jenkins Mercurial Plugin
Details

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

Database specific
{
    "nvd_published_at": "2022-05-17T15:15:00Z",
    "github_reviewed_at": "2022-06-02T15:52:02Z",
    "severity": "LOW",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:mercurial

Package

Name
org.jenkins-ci.plugins:mercurial
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/mercurial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.16.1

Affected versions

1.*

1.37
1.38
1.39
1.40
1.41
1.42
1.43
1.44
1.45
1.46
1.47
1.48-beta-1
1.48
1.49
1.50-beta-1
1.50-beta-2
1.50
1.50.1
1.51-beta-1
1.51-beta-2
1.51-beta-3
1.51
1.52
1.53
1.54
1.55
1.56
1.57
1.58-beta-1
1.58
1.59
1.60
1.61

2.*

2.0-alpha-1
2.0-alpha-4
2.0-beta-1
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.8.1
2.9
2.9.1
2.10
2.10.1
2.11
2.12
2.13
2.14
2.15
2.15.1
2.15.2
2.16

Database specific

{
    "last_known_affected_version_range": "<= 2.16"
}