{"id":"CVE-2022-30947","aliases":["CVE-2022-30947","GHSA-84cm-vjwm-m979"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in Jenkins Git Mercurial and Repo Plugins","summary":"Jenkins Git Plugin 4.11.1 and earlier 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Git Plugin 4.11.1 and earlier 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.","source":"cvelist"},{"lang":"en","text":"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’s file system using local paths as SCM URLs, obtaining limited information about other projects' SCM contents.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El Plugin Git de Jenkins versiones 4.11.1 y anteriores, permiten a atacantes configurar los pipelines para comprobar algunos repositorios SCM almacenados en el sistema de archivos del controlador de Jenkins usando rutas locales como URLs SCM, obteniendo información limitada sobre los contenidos SCM de otros proyectos","source":"nvd"}],"published":"2022-05-17T14:06:05.000Z","modified":"2026-06-17T04:44:30.353Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"4.11.1","status":"affected"},{"version":"4.9.1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins Git Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.2"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:git","purl":"pkg:maven/org.jenkins-ci.plugins/git","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.16.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","purl":"pkg:maven/org.jenkins-ci.plugins/mercurial","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.0"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:repo","purl":"pkg:maven/org.jenkins-ci.plugins/repo","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.11.2"}],"vendor":"jenkins","product":"git","cpe":"cpe:2.3:a:jenkins:git:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/17/8","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30947","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/git-plugin/commit/b295606e0b865c298fde27bea14f9b7535a976e6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/mercurial-plugin/commit/55904fbb8c9d3e0b36fc26330374904cb68e8758","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/repo-plugin/commit/3c8e6236b1088fc138a1a3e6af5ebbcb8b616f2f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/git-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30947","url":"https://www.cve.org/CVERecord?id=CVE-2022-30947","licence":"CVE Terms of Use","modified":"2024-08-03T07:03:40.003Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84cm-vjwm-m979","url":"https://github.com/advisories/GHSA-84cm-vjwm-m979","licence":"CC-BY-4.0","modified":"2024-02-16T08:11:10.973Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30947","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30947","licence":"Public domain","modified":"2026-06-17T04:44:30.353Z"}],"updatedAt":"2026-11-25T22:58:11.749Z","epss":{"score":0.01304,"percentile":0.71349,"date":"2026-12-01T12:00:22.000Z"}}