CVE-2022-29047Jenkins Pipeline: Shared Groovy Libraries
Medium 5.3 No auth needed
Follow: this CVE · Jenkins · Jenkins Pipeline: Shared Groovy Libraries We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Apr 12, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
Jenkins Pipeline: Shared Groovy Libraries Plugin 564.ve62a_4eb_b_e039 and earlier, except 2.21.3, allows attackers able to submit pull requests (or equivalent), but not able to commit directly to the configured SCM, to effectively change the Pipeline behavior by changing the definition of a dynamically retrieved library in their pull request, even if the Pipeline is configured to not trust them.
What to do
- Apply the vendor's security update for Pipeline: Shared Groovy Libraries.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib |
< 2.21.3 |
2.21.3 |
— |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib |
≥ 544.vff04fa68714d < 566.vd0a |
566.vd0a |
— |
Per OSV / GitHub Advisories (GHSA-hh6f-6fp5-gfpv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jenkins | pipeline:_shared_groovy_libraries | < 2.21.3 |
| jenkins | pipeline:_shared_groovy_libraries | ≥ 544.vff04fa68714d < 566.vd0a_a_3334a_555 |
Official sources
References
Links published by the sources. Open them with care.
- www.jenkins.io Vendor Advisory