GHSA-84cm-vjwm-m979

Suggest an improvement
Source
https://github.com/advisories/GHSA-84cm-vjwm-m979
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-84cm-vjwm-m979/GHSA-84cm-vjwm-m979.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84cm-vjwm-m979
Aliases
Published
2022-05-18T00:00:39Z
Modified
2024-02-16T08:11:10.973880Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Path traversal in Jenkins Git Mercurial and Repo Plugins
Details

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.

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

Affected packages

Maven / org.jenkins-ci.plugins:git

Package

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

Affected ranges

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

Affected versions

1.*

1.2.0
1.3.0
1.4.0
1.5.0
1.6.0-beta-1

2.*

2.0-beta-2
2.0-beta-3
2.0
2.0.1
2.0.2
2.0.3
2.0.4
2.1.0
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.2.10
2.2.11
2.2.12
2.3-beta-1
2.3-beta-2
2.3-beta-3
2.3-beta-4
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.5.0-beta1
2.5.0-beta2
2.5.0-beta3
2.5.0-beta4
2.5.0-beta5
2.5.0
2.5.1
2.5.2
2.5.3
2.6.0
2.6.1
2.6.2-beta-1
2.6.2-beta-2
2.6.2
2.6.4
2.6.5

3.*

3.0.0-beta1
3.0.0-beta2
3.0.0
3.0.1
3.0.2-beta-1
3.0.2-beta-2
3.0.2
3.0.3
3.0.4
3.0.5
3.1.0
3.2.0
3.3.0
3.3.1
3.3.2
3.4.0-alpha-1
3.4.0-alpha-4
3.4.0-beta-1
3.4.0-beta-2
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.6.1
3.6.2
3.6.3
3.6.4
3.7.0
3.8.0
3.9.0
3.9.1
3.9.2
3.9.3
3.9.4
3.10.0-beta-1
3.10.0
3.10.0.1
3.10.1
3.11.0
3.12.0
3.12.1
3.12.2

4.*

4.0.0-beta1
4.0.0-beta2
4.0.0-beta3
4.0.0-beta4
4.0.0-beta7
4.0.0-beta8
4.0.0-beta9
4.0.0-beta10
4.0.0-beta11
4.0.0-beta12
4.0.0-rc
4.0.0
4.0.1
4.1.0-beta
4.1.0
4.1.1
4.2.0
4.2.1
4.2.2
4.3.0
4.3.1
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.5.1
4.5.2
4.6.0
4.7.0
4.7.1
4.7.1.1
4.7.2
4.8.0
4.8.1
4.8.2
4.8.3
4.9.0
4.9.1
4.9.2
4.9.3
4.9.4
4.10.0
4.10.1
4.10.2
4.10.3
4.11.0
4.11.1

Database specific

{
    "last_known_affected_version_range": "<= 4.11.1"
}

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"
}

Maven / org.jenkins-ci.plugins:repo

Package

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

Affected ranges

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

Affected versions

1.*

1.0
1.1
1.2
1.2.1
1.3
1.5
1.6
1.7
1.7.1
1.8.0
1.9.0
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.10.5
1.10.6
1.10.7
1.11.0
1.11.1
1.12.0
1.12.1
1.12.2
1.13.0
1.14.0
1.14.1

Database specific

{
    "last_known_affected_version_range": "<= 1.14.0"
}