Skip to content
Fencer Vulns
medium 6.5

CVE-2022-25179 json

Link Following in Jenkins Pipeline Multibranch Plugin

published 2022-02-15 4 y ago modified 2026-06-17 4 mo ago also GHSA-2m9w-9xh2-wxc3 , EUVD-2022-0764

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

Summary

Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading files using the readTrusted step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Patch / fix

  • maven org.jenkins-ci.plugins.workflow:workflow-multibranch 2.23.1, 2.26.1, 696.698.v9b4218eea50f, 707.v71c3f0a
  • Jenkins project Jenkins Pipeline: Multibranch Plugin 2.23.1, 2.26.1, 696.698.v9b4218eea50f
  • 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-25179 updated cvss 6.5

workflow-multibranch: 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.79% chance of exploitation in the next 30 days, higher than 78% 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-multibranch
>=2.24, <2.26.1
<2.23.1
>=696.v52535c46f4c9, <696.698.v9b4218eea50f
>=706.vd43c65dec013, <707.v71c3f0a
2.26.1
2.23.1
696.698.v9b4218eea50f
707.v71c3f0a

Affected products

  • Jenkins project Jenkins Pipeline: Multibranch 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.