CVE-2022-29047
MEDIUM 5.3CVSS 3.1Untrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin
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.
- Published
- 12 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-hh6f-6fp5-gfpv
- Sources
- NVDJSONOSV GHSA-hh6f-6fp5-gfpvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:_shared_groovy_librariescpe:2.3:a:jenkins:pipeline\:_shared_groovy_libraries:*:*:*:*:*:jenkins:*:* |
< 2.21.3 | 2.21.3 |
| NVD | jenkins | pipeline:_shared_groovy_librariescpe:2.3:a:jenkins:pipeline\:_shared_groovy_libraries:*:*:*:*:*:jenkins:*:* |
>= 544.vff04fa68714d, < 566.vd0a_a_3334a_555 | 566.vd0a_a_3334a_555 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | < 2.21.3 | 2.21.3 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | >= 544.vff04fa68714d, < 566.vd0a | 566.vd0a |
References
- https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-1951 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29047 · ADVISORY
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/97bf32458e60ad252cfe5e7949bacf04459cee64 · WEB
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/bae59b46cb524549d7f346ba73d3161804c97331 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Apr 2022)