cve.bz

CVE-2022-25177 jenkins pipeline\: Link Following

6.5 mediumEPSS 1.7%Fix available

Medium (6.5) in jenkins pipeline\. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins.workflow:workflow-cps-global-lib 2.18.1, 2.21.1, 561.va_ce0de3c2d69.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-25177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25177?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • jenkins:pipeline\

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Pluginthrough 552.vd9cc05b8a2e1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q234-x887-9rxhMavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib>=2.22 <561.va_ce0de3c2d69561.va_ce0de3c2d69
GHSA-q234-x887-9rxhMavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib>=2.19 <2.21.12.21.1
GHSA-q234-x887-9rxhMavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib<2.18.12.18.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7jenkins0:2.319.3.1650348949-1.el7RHSA-2022:1420
Red Hatopenshift:3.11::el7jenkins-2-plugins0:3.11.1650371376-1.el7RHSA-2022:1420
Red Hatopenshift:4.6::el7haproxy, haproxy20, haproxy-debuginfo0:2.0.16-3.el7RHSA-2022:1620
Red Hatopenshift:4.6::el8haproxy, haproxy20, haproxy-debugsource and 1 more0:2.0.16-5.el8RHSA-2022:1620
Red Hatopenshift:4.6::el8jenkins-2-plugins0:4.6.1650364520-1.el8RHSA-2022:1620
Red Hatopenshift:4.7::el8jenkins-2-plugins0:4.7.1648800585-1.el8RHSA-2022:1248
Red Hatopenshift:4.8::el7cri-o, cri-o-debuginfo0:1.21.5-3.rhaos4.8.gitaf64931.el7RHSA-2022:0871
Red Hatopenshift:4.8::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.21.5-3.rhaos4.8.gitaf64931.el8RHSA-2022:0871
Red Hatopenshift:4.8::el8jenkins-2-plugins0:4.8.1646993358-1.el8RHSA-2022:0871
Red Hatopenshift:4.9::el8haproxy, haproxy22, haproxy-debugsource and 1 more0:2.2.15-4.el8RHSA-2022:1021
Red Hatopenshift:4.9::el8jenkins-2-plugins0:4.9.1647580879-1.el8RHSA-2022:1021
Red Hatopenshift:4.10::el8jenkins-2-plugins0:4.10.1647505461-1.el8RHSA-2022:1025

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11jenkins-2-plugins-0:3.11.1650371376-1.el7Fixed 2022-04-27RHSA-2022:1420
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1647505461-1.el8Fixed 2022-03-28RHSA-2022:1025
Red Hat OpenShift Container Platform 4.6jenkins-2-plugins-0:4.6.1650364520-1.el8Fixed 2022-05-04RHSA-2022:1620
Red Hat OpenShift Container Platform 4.7jenkins-2-plugins-0:4.7.1648800585-1.el8Fixed 2022-04-13RHSA-2022:1248
Red Hat OpenShift Container Platform 4.8jenkins-2-plugins-0:4.8.1646993358-1.el8Fixed 2022-03-22RHSA-2022:0871
Red Hat OpenShift Container Platform 4.9jenkins-2-plugins-0:4.9.1647580879-1.el8Fixed 2022-03-29RHSA-2022:1021

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25177.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON