CVE-2022-25174: Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipe
Noroxi assessment
Priority: Monitor (action score 35/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.4% (FIRST EPSS); higher than 72.4% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) 2.21.1, 561.va, 2.18.1; jenkins (Red Hat:openshift:3.11::el7) 0:2.319.3.1650348949-1.el7; jenkins-2-plugins (Red Hat:openshift:3.11::el7) 0:3.11.1650371376-1.el7.
Low priority for now. Upgrade to org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven) 2.21.1, 561.va, 2.18.1; jenkins (Red Hat:openshift:3.11::el7) 0:2.319.3.1650348949-1.el7; jenkins-2-plugins (Red Hat:openshift:3.11::el7) 0:3.11.1650371376-1.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipeline libraries, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.
- Published
- Feb 15, 2022
- Updated
- Jun 17, 2026
- EPSS
- 1.4% · 72th percentile
- CWE
- CWE-78
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| jenkins | pipeline\ | cpe:2.3:a:jenkins:pipeline\ |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- jenkins pipeline:shared groovy librariesup to 552.vd9cc05b8a2e1 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (jenkins). Independent of NVD's CPE analysis and usually ahead of it.
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin
- 2.21.1, 2.18.1not affected
- unspecified and later · up to and including 552.vd9cc05b8a2e1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | from 2.19 · before 2.21.1 | 2.21.1 |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | from 544.vff04fa68714d · before 561.va | 561.va |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | before 2.18.1 | 2.18.1 |
| Red Hat:openshift:3.11::el7 | jenkins | before 0:2.319.3.1650348949-1.el7 | 0:2.319.3.1650348949-1.el7 |
| Red Hat:openshift:3.11::el7 | jenkins-2-plugins | before 0:3.11.1650371376-1.el7 | 0:3.11.1650371376-1.el7 |
| Red Hat:openshift:4.10::el8 | jenkins-2-plugins | before 0:4.10.1647505461-1.el8 | 0:4.10.1647505461-1.el8 |
| Red Hat:openshift:4.6::el7 | haproxy | before 0:2.0.16-3.el7 | 0:2.0.16-3.el7 |
| Red Hat:openshift:4.6::el7 | haproxy-debuginfo | before 0:2.0.16-3.el7 | 0:2.0.16-3.el7 |
| Red Hat:openshift:4.6::el7 | haproxy20 | before 0:2.0.16-3.el7 | 0:2.0.16-3.el7 |
| Red Hat:openshift:4.6::el8 | haproxy | before 0:2.0.16-5.el8 | 0:2.0.16-5.el8 |
| Red Hat:openshift:4.6::el8 | haproxy-debugsource | before 0:2.0.16-5.el8 | 0:2.0.16-5.el8 |
| Red Hat:openshift:4.6::el8 | haproxy20 | before 0:2.0.16-5.el8 | 0:2.0.16-5.el8 |
| Red Hat:openshift:4.6::el8 | haproxy20-debuginfo | before 0:2.0.16-5.el8 | 0:2.0.16-5.el8 |
| Red Hat:openshift:4.6::el8 | jenkins-2-plugins | before 0:4.6.1650364520-1.el8 | 0:4.6.1650364520-1.el8 |
| Red Hat:openshift:4.7::el8 | jenkins-2-plugins | before 0:4.7.1648800585-1.el8 | 0:4.7.1648800585-1.el8 |
| Red Hat:openshift:4.8::el7 | cri-o | before 0:1.21.5-3.rhaos4.8.gitaf64931.el7 | 0:1.21.5-3.rhaos4.8.gitaf64931.el7 |
| Red Hat:openshift:4.8::el7 | cri-o-debuginfo | before 0:1.21.5-3.rhaos4.8.gitaf64931.el7 | 0:1.21.5-3.rhaos4.8.gitaf64931.el7 |
| Red Hat:openshift:4.8::el8 | cri-o | before 0:1.21.5-3.rhaos4.8.gitaf64931.el8 | 0:1.21.5-3.rhaos4.8.gitaf64931.el8 |
| Red Hat:openshift:4.8::el8 | cri-o-debuginfo | before 0:1.21.5-3.rhaos4.8.gitaf64931.el8 | 0:1.21.5-3.rhaos4.8.gitaf64931.el8 |
| Red Hat:openshift:4.8::el8 | cri-o-debugsource | before 0:1.21.5-3.rhaos4.8.gitaf64931.el8 | 0:1.21.5-3.rhaos4.8.gitaf64931.el8 |
| Red Hat:openshift:4.8::el8 | jenkins-2-plugins | before 0:4.8.1646993358-1.el8 | 0:4.8.1646993358-1.el8 |
| Red Hat:openshift:4.9::el8 | haproxy | before 0:2.2.15-4.el8 | 0:2.2.15-4.el8 |
| Red Hat:openshift:4.9::el8 | haproxy-debugsource | before 0:2.2.15-4.el8 | 0:2.2.15-4.el8 |
| Red Hat:openshift:4.9::el8 | haproxy22 | before 0:2.2.15-4.el8 | 0:2.2.15-4.el8 |
+2
Same product
jenkins: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-1003030A sandbox bypass vulnerability exists in Jenkins Pipeline: Groovy Plugin 2.63 and earlier in pom.xml, src/main/java/org/jenkinsci/plugins/woKEV98Now
- CVE-2019-1003001A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlo61This week
- CVE-2019-1003002A sandbox bypass vulnerability exists in Pipeline: Declarative Plugin 1.3.3 and earlier in pipeline-model-definition/src/main/groovy/org/jen59Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-2166Mar 25, 2020 · Jenkins Pipeline: AWS Steps Plugin 1.40 and earlier does not configure its YAML parser to prevent the instantiation of arbitrary types, resu36Monitor
- ← EarlierCVE-2022-25173Feb 15, 2022 · Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script 35Monitor
- Later →CVE-2022-25175Feb 15, 2022 · Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier uses the same checkout directories for distinct SCMs for the readTrusted 35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Maven:org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 2.18.1 | Package registry (OSV) |
| Maven:org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 2.21.1 | Package registry (OSV) |
| Maven:org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 561.va | Package registry (OSV) |
| red hat:cri-o | 0:1.21.5-3.rhaos4.8.gitaf64931.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:cri-o-debuginfo | 0:1.21.5-3.rhaos4.8.gitaf64931.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:cri-o-debugsource | 0:1.21.5-3.rhaos4.8.gitaf64931.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
| red hat:haproxy | 0:2.2.15-4.el8 · Red Hat:openshift:4.9::el8 | Package registry (OSV) |
| red hat:haproxy-debuginfo | 0:2.0.16-3.el7 · Red Hat:openshift:4.6::el7 | Package registry (OSV) |
| red hat:haproxy-debugsource | 0:2.2.15-4.el8 · Red Hat:openshift:4.9::el8 | Package registry (OSV) |
| red hat:haproxy20 | 0:2.0.16-3.el7 · Red Hat:openshift:4.6::el7 | Package registry (OSV) |
| red hat:haproxy20-debuginfo | 0:2.0.16-5.el8 · Red Hat:openshift:4.6::el8 | Package registry (OSV) |
| red hat:haproxy22 | 0:2.2.15-4.el8 · Red Hat:openshift:4.9::el8 | Package registry (OSV) |
| red hat:haproxy22-debuginfo | 0:2.2.15-4.el8 · Red Hat:openshift:4.9::el8 | Package registry (OSV) |
| red hat:jenkins | 0:2.319.3.1650348949-1.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:jenkins-2-plugins | 0:4.8.1646993358-1.el8 · Red Hat:openshift:4.8::el8 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2025-08-18 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1279 d
- TodayOct 30, 2026+1718 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;
exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;
if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);
execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.