CVE-2022-30948 json
Path traversal in Jenkins Mercurial Plugin
published 2022-05-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-5786-3qjg-mr88 , EUVD-2022-2520
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.plugins:mercurial 2.16.1
- Jenkins project Jenkins Mercurial Plugin 2.15.1
- jenkins openshift 4.8 2.361.1.1672840472-1.el8
- jenkins-2-plugins openshift 4.8 4.8.1672842762-1.el8
red hat advisories RHSA-2023:0017
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-30948 updated cvss 7.5
plugin: Mercurial SCM plugin can check out from the controller file system
-
Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8fixed: vendor fix RHSA-2023:0017
-
Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:mercurial | <2.16.1 |
2.16.1 |
Affected products
- Jenkins project Jenkins Mercurial Plugin
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/jenkinsci/mercurial-plugin/commit/b995436e560b01818f5d9e9920990370cc575341
web
-
jenkins.io
/security/advisory/2022-05-17/#SECURITY-2478
web, vendor-advisory
-
openwall.com
/lists/oss-security/2022/05/17/8
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-30948
advisory
-
github.com
/jenkinsci/mercurial-plugin
package
Sources
- CVE List CVE-2022-30948
- GitHub Advisory GHSA-5786-3qjg-mr88
- NVD CVE-2022-30948
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.