ghsa-84cm-vjwm-m979
Vulnerability from github
Published
2022-05-18 00:00
Modified
2023-12-06 15:20
Severity ?
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.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 4.11.1" }, "package": { "ecosystem": "Maven", "name": "org.jenkins-ci.plugins:git" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.11.2" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 2.16" }, "package": { "ecosystem": "Maven", "name": "org.jenkins-ci.plugins:mercurial" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.16.1" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 1.14.0" }, "package": { "ecosystem": "Maven", "name": "org.jenkins-ci.plugins:repo" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.15.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-30947" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2022-06-02T15:51:22Z", "nvd_published_at": "2022-05-17T15:15:00Z", "severity": "HIGH" }, "details": "Jenkins SCMs support a number of different URL schemes, including local file system paths (e.g. using `file:` URLs).\n\nHistorically 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.\n\nThis allows attackers able to configure pipelines to check out some SCM repositories stored on the Jenkins controller\u2019s file system using local paths as SCM URLs, obtaining limited information about other projects\u0027 SCM contents.", "id": "GHSA-84cm-vjwm-m979", "modified": "2023-12-06T15:20:46Z", "published": "2022-05-18T00:00:39Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-30947" }, { "type": "WEB", "url": "https://github.com/jenkinsci/git-plugin/commit/b295606e0b865c298fde27bea14f9b7535a976e6" }, { "type": "WEB", "url": "https://github.com/jenkinsci/mercurial-plugin/commit/55904fbb8c9d3e0b36fc26330374904cb68e8758" }, { "type": "WEB", "url": "https://github.com/jenkinsci/repo-plugin/commit/3c8e6236b1088fc138a1a3e6af5ebbcb8b616f2f" }, { "type": "PACKAGE", "url": "https://github.com/jenkinsci/git-plugin" }, { "type": "WEB", "url": "https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2022/05/17/8" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Path traversal in Jenkins Git Mercurial and Repo Plugins" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.