Skip to content
Fencer Intel
medium 5.3

CVE-2022-29047 json

Untrusted users can modify some Pipeline libraries in Jenkins Pipeline: Deprecated Groovy Libraries Plugin

published 4y ago modified 4mo ago also GHSA-hh6f-6fp5-gfpv , EUVD-2022-1760

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib 2.21.3, 566.vd0a
  • Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin 2.21.3
  • jenkins openshift 4.8 2.361.1.1672840472-1.el8
  • jenkins-2-plugins openshift 4.8 4.8.1672842762-1.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1675702407-1.el8
  • jenkins-2-plugins openshift 4.7 4.7.1652967082-1.el8
  • jenkins-2-plugins openshift 4.9 4.9.1651754460-1.el8

red hat advisories RHSA-2023:0017RHSA-2023:1064RHSA-2022:4909RHSA-2022:2205

Is CVE-2022-29047 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-29047 updated cvss 7.3

Libraries: Untrusted users can modify some Pipeline libraries in Pipeline Shared Groovy Libraries Plugin

  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1675702407-1.el8
    fixed: vendor fix RHSA-2023:1064
  • Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins 4.7.1652967082-1.el8
    fixed: vendor fix RHSA-2022:4909
  • Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1672842762-1.el8
    fixed: vendor fix RHSA-2023:0017
  • Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1651754460-1.el8
    fixed: vendor fix RHSA-2022:2205
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.361.4.1675702346-3.el8 Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins Red Hat OpenShift Container Platform 4.7 cri-o 1.20.7-4.rhaos4.7.gitb9df556.el7, cri-o 1.20.7-4.rhaos4.7.gitb9df556.el8 Red Hat OpenShift Container Platform 4.8 jenkins 2.361.1.1672840472-1.el8 Red Hat OpenShift Container Platform 4.9 jenkins 2.319.3.1651752848-1.el8, cri-o 1.22.3-5.rhaos4.9.git388405c.el8, cri-o 1.22.3-6.rhaos4.9.git388405c.el7
    not 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

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2y ago

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
<2.21.3
>=544.vff04fa68714d, <566.vd0a
2.21.3
566.vd0a

Affected products

  • Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin

Classification

Weakness

References

Sources

Fencer Intel 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.