CVE-2022-29047
mediumpriority · track · 21OT risk · elevatedEPSS 0.012 · 68 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedjenkins-2-plugins-0:4.9.1651754460-1.el8.noarch as a component of Red Hat OpenShift Container Platform 4.9redhat_csaf
For OpenShift Container Platform 4.9 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-release-notes.html Details on how to access this content are available at https://docs.openshift.com/container-platform/4.9/updating/updating-cluster-cli.html
https://access.redhat.com/errata/RHSA-2022:2205 - Fixedjenkins-2-plugins-0:4.9.1651754460-1.el8.src as a component of Red Hat OpenShift Container Platform 4.9redhat_csaf
For OpenShift Container Platform 4.9 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-release-notes.html Details on how to access this content are available at https://docs.openshift.com/container-platform/4.9/updating/updating-cluster-cli.html
https://access.redhat.com/errata/RHSA-2022:2205 - Fixedjenkins-2-plugins-0:4.7.1652967082-1.el8.noarch as a component of Red Hat OpenShift Container Platform 4.7redhat_csaf
For OpenShift Container Platform 4.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-release-notes.html Details on how to access this content are available at https://docs.openshift.com/container-platform/4.7/updating/updating-cluster-cli.html
https://access.redhat.com/errata/RHSA-2022:4909 - Fixedjenkins-2-plugins-0:4.7.1652967082-1.el8.src as a component of Red Hat OpenShift Container Platform 4.7redhat_csaf
For OpenShift Container Platform 4.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-release-notes.html Details on how to access this content are available at https://docs.openshift.com/container-platform/4.7/updating/updating-cluster-cli.html
https://access.redhat.com/errata/RHSA-2022:4909
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (42)
Products and version ranges known to be affected.
- Jenkins Project Jenkins Pipeline: Shared Groovy Libraries Plugin≤ unspecified ≤564.ve62a_4eb_b_e039enisa_euvdEU
- jenkins pipeline: shared groovy libraries< 2.21.3nvdUScpe:2.3:a:jenkins:pipeline\:_shared_groovy_libraries:*:*:*:*:*:*:*:*
- jenkins pipeline: shared groovy libraries544.vff04fa68714d → 566.vd0a_a_3334a_555nvdUScpe:2.3:a:jenkins:pipeline\:_shared_groovy_libraries:*:*:*:*:*:*:*:*
- Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib< 2.21.3osvUSpkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib
- Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib544.vff04fa68714d → 566.vd0aosvUSpkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2022:2205Red Hat Security Advisory: OpenShift Container Platform 4.9.33 packages and security update2022-05-18csaf · redhat_csafUS
Red Hat OpenShift Container Platform release 4.9.33 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red Hat OpenShift Container Platform 4.9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2022:4909Red Hat Security Advisory: OpenShift Container Platform 4.7.52 paackages and security update2022-06-10csaf · redhat_csafUS
Red Hat OpenShift Container Platform release 4.7.52 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red Hat OpenShift Container Platform 4.7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2022-0265Jenkins: Mehrere SchwachstellenDeutsch2022-04-12csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um vertrauliche Informationen offenzulegen, Sicherheitsmaßnahmen zu umgehen, einen Cross-Site-Scripting-Angriff durchzuführen und Dateien zu manipulieren.
- GHSA-hh6f-6fp5-gfpvUntrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin2022-04-13ghsa · osvUS
Multibranch Pipelines by default limit who can change the Pipeline definition from the Jenkinsfile. This is useful for SCMs like GitHub: Jenkins can build content from users without commit access, but who can submit pull requests, without granting them the ability to modify the Pipeline definition. In that case, Jenkins will just use the Pipeline definition in the pull request’s destination branch instead. In Pipeline: Deprecated Groovy Libraries Plugin 564.ve62a_4eb_b_e039 and earlier the same protection does not apply to uses of the `library` step with a `retriever` argument pointing to a library in the current build’s repository and branch (e.g., `library(…, retriever: legacySCM(scm))`). This 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 library behavior in their pull request, even if the Pipeline is configured to not trust them. Pipeline: Deprecated Groovy Libraries Plugin 566.vd0a_a_3334a_555 and 2.21.3 aborts library retrieval if the library would be retrieved from the same repository and revision as the current build, and the revision being built is untrusted.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-29047cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-29047/cnnvd
- https://packetstormsecurity.com/files/167220/Red-Hat-Security-Advisory-2022-2205-01.htmlcnnvd
- https://packetstormsecurity.com/files/167462/Red-Hat-Security-Advisory-2022-4909-01.htmlcnnvd
- https://packetstormsecurity.com/files/170511/Red-Hat-Security-Advisory-2023-0017-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-38026cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.2472cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.2883cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan