{"id":"CVE-2022-30948","aliases":["EUVD-2022-2520","GHSA-5786-3qjg-mr88","RHSA-2023:0017"],"status":"published","title":"Path traversal in Jenkins Mercurial Plugin","description":"Jenkins Mercurial Plugin 2.16 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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01521,"percentile":0.74819,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-05-17T14:06:07Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","fixed_in":["2.16.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.16"},{"fixed":"2.16.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:mercurial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.1"}]}],"versions":["1.37","1.38","1.39","1.40","1.41","1.42","1.43","1.44","1.45","1.46","1.47","1.48","1.48-beta-1","1.49","1.50","1.50-beta-1","1.50-beta-2","1.50.1","1.51","1.51-beta-1","1.51-beta-2","1.51-beta-3","1.52","1.53","1.54","1.55","1.56","1.57","1.58","1.58-beta-1","1.59","1.60","1.61","2.0","2.0-alpha-1","2.0-alpha-4","2.0-beta-1","2.1","2.10","2.10.1","2.11","2.12","2.13","2.14","2.15","2.15.1","2.15.2","2.16","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.8.1","2.9","2.9.1"]},{"source":"osv","ecosystem":"Red Hat:openshift:4.8::el8","package":"jenkins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.361.1.1672840472-1.el8"}]}],"bundled":16},{"source":"osv","ecosystem":"Red Hat:openshift:4.8::el8","package":"jenkins-2-plugins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.8.1672842762-1.el8"}]}],"bundled":16}],"products":[{"vendor":"jenkins","product":"mercurial"},{"vendor":"jenkins project","product":"jenkins mercurial plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2478","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","article"]},{"url":"http://www.openwall.com/lists/oss-security/2022/05/17/8","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30948","tags":["advisory"]},{"url":"https://github.com/jenkinsci/mercurial-plugin/commit/b995436e560b01818f5d9e9920990370cc575341","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5786-3qjg-mr88"},{"url":"https://github.com/jenkinsci/mercurial-plugin","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2023:0017","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2074855","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2103548","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2103551","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2114755","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2116840","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2116952","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119642","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119643","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119644","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119645","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119646","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119647","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119653","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119656","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119657","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119658","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_0017.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-2048","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2048","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2048","tags":["advisory"]},{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-wgmr-mf83-7x4j","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-29047","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29047","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29047","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-1951","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30945","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30945","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30945","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-359","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30946","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30946","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30946","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2116","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30948","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30948","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30952","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30952","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30952","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-714","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30953","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30953","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30953","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2502","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-30954","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30954","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30954","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-34174","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-34174","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34174","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2566","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-34176","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-34176","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34176","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2760","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-34177","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-34177","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34177","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2705","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36881","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36881","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36881","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cm7j-p8hc-97vj","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-07-27/#SECURITY-1468","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36882","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36882","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36882","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-07-27/#SECURITY-284","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36883","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36883","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36883","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36884","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36884","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36884","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36885","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36885","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36885","tags":["advisory"]},{"url":"https://www.jenkins.io/security/advisory/2022-07-27/#SECURITY-1849","tags":["article"]}],"sources":{"cve":[{"id":"CVE-2022-30948","description":"Jenkins Mercurial Plugin 2.16 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.","status":"published","published":"2022-05-17T14:06:07Z","modified":"2024-08-03T07:03:39.392Z","updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-2520","description":"Jenkins Mercurial Plugin 2.16 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.","status":"published","published":"2022-05-17T14:06:07Z","modified":"2024-08-03T07:03:39Z","updated_at":"2026-11-03T03:25:35.220299Z"}],"ghsa":[{"id":"GHSA-5786-3qjg-mr88","title":"Path traversal in Jenkins Mercurial Plugin","description":"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","status":"published","published":"2022-05-18T00:00:39Z","modified":"2023-01-28T05:02:24Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:23.433782Z"}],"nvd":[{"id":"CVE-2022-30948","description":"Jenkins Mercurial Plugin 2.16 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.","status":"published","published":"2022-05-17T15:15:08.853Z","modified":"2026-06-17T04:44:30.453Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:20.264424Z"}],"osv":[{"id":"CVE-2022-30948","description":"Jenkins Mercurial Plugin 2.16 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.","status":"published","published":"2022-05-17T15:15:08.853Z","modified":"2026-10-24T10:31:01.382791032Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-5786-3qjg-mr88","title":"Path traversal in Jenkins Mercurial Plugin","description":"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","status":"published","published":"2022-05-18T00:00:39Z","modified":"2023-11-08T04:09:20.518752Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.864461Z"},{"id":"RHSA-2023:0017","title":"Red Hat Security Advisory: OpenShift Container Platform 4.8.56 packages and security update","status":"published","published":"2024-09-20T15:16:08Z","modified":"2026-10-13T10:03:41Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:10.139266Z"}]}}
