Skip to content
Fencer Vulns
medium 6.5

CVE-2022-25177 json

Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin

published 2022-02-15 4 y ago modified 2026-06-17 4 mo ago also GHSA-q234-x887-9rxh , EUVD-2022-1141

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

Summary

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

Patch / fix

  • maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib 2.18.1, 2.21.1, 561.va_ce0de3c2d69
  • Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin 2.18.1, 2.21.1
  • jenkins openshift 3.11 2.319.3.1650348949-1.el7
  • jenkins-2-plugins openshift 3.11 3.11.1650371376-1.el7
  • haproxy openshift 4.6 2.0.16-3.el7
  • haproxy openshift 4.6 2.0.16-5.el8
  • haproxy20 openshift 4.6 2.0.16-3.el7
  • haproxy20 openshift 4.6 2.0.16-5.el8
  • jenkins-2-plugins openshift 4.6 4.6.1650364520-1.el8
  • haproxy openshift 4.9 2.2.15-4.el8

red hat advisories RHSA-2022:1420RHSA-2022:1620RHSA-2022:1021RHSA-2022:1248RHSA-2022:1025RHSA-2022:0871

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-25177 updated cvss 6.5

workflow-cps-global-lib: Pipeline-related plugins follow symbolic links or do not limit path names

  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins 3.11.1650371376-1.el7
    fixed: vendor fix RHSA-2022:1420
  • Red Hat OpenShift Container Platform 4.6 jenkins-2-plugins 4.6.1650364520-1.el8
    fixed: vendor fix RHSA-2022:1620
  • Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins 4.7.1648800585-1.el8
    fixed: vendor fix RHSA-2022:1248
  • Red Hat OpenShift Container Platform 4.8 jenkins-2-plugins 4.8.1646993358-1.el8
    fixed: vendor fix RHSA-2022:0871
  • Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins 4.9.1647580879-1.el8
    fixed: vendor fix RHSA-2022:1021
  • Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1647505461-1.el8
    fixed: vendor fix RHSA-2022:1025
  • Red Hat OpenShift Container Platform 3.11 jenkins 2.319.3.1650348949-1.el7, prometheus 3.11.685-1.g99aae51.el7, openshift-kuryr 3.11.685-1.g0c4bf66.el7, openshift-kuryr-cni 3.11.685-1.g0c4bf66.el7, atomic-openshift 3.11.685-1.git.0.7faaeaa.el7, openshift-ansible 3.11.685-1.git.0.a9090ac.el7, +35 more Red Hat OpenShift Container Platform 4.6 haproxy 2.0.16-3.el7, haproxy 2.0.16-5.el8, haproxy20 2.0.16-3.el7, haproxy20 2.0.16-5.el8, python-boto 2.34.0-5.el7, cri-o 1.19.6-3.rhaos4.6.git3c20b65.el7, +5 more Red Hat OpenShift Container Platform 4.8 cri-o 1.21.5-3.rhaos4.8.gitaf64931.el7, cri-o 1.21.5-3.rhaos4.8.gitaf64931.el8, openshift 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el7, openshift 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el8, openshift-ansible 4.8.0-202203100145.p0.gfccb320.assembly.stream.el7, openshift-hyperkube 4.8.0-202203100757.p0.gee73ea2.assembly.stream.el7, +2 more Red Hat OpenShift Container Platform 4.9 haproxy 2.2.15-4.el8, haproxy22 2.2.15-4.el8, runc 1.0.1-3.rhaos4.9.git4144b63.el8, cri-o 1.22.3-2.rhaos4.9.git28c5a70.el7, cri-o 1.22.3-2.rhaos4.9.git28c5a70.el8, openshift-ansible 4.9.0-202203150226.p0.g8abf85e.assembly.stream.el7, +5 more Red Hat OpenShift Container Platform 4.10 cri-o 1.23.2-2.rhaos4.10.git071ae78.el8, openshift 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el7, openshift 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el8, openshift-clients 4.10.0-202203170916.p0.g6de42bd.assembly.stream.el7, openshift-clients 4.10.0-202203170916.p0.g6de42bd.assembly.stream.el8, openshift-hyperkube 4.10.0-202203211237.p0.gb0357ed.assembly.stream.el7, +3 more
    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

Exploit prediction

1.74% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

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

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
>=2.22, <561.va_ce0de3c2d69
>=2.19, <2.21.1
<2.18.1
561.va_ce0de3c2d69
2.21.1
2.18.1

Affected products

  • Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

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