CVE-2022-25177
MEDIUM 6.5CVSS 3.1Improper Link Resolution Before File Access in Jenkins Pipeline: Shared Groovy Libraries Plugin
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.
- Published
- 15 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-q234-x887-9rxh
- Sources
- NVDJSONOSV GHSA-q234-x887-9rxhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | pipeline:shared_groovy_librariescpe:2.3:a:jenkins:pipeline\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:* |
<= 552.vd9cc05b8a2e1 | |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | >= 2.22, < 561.va_ce0de3c2d69 | 561.va_ce0de3c2d69 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | >= 2.19, < 2.21.1 | 2.21.1 |
| OSV | Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | < 2.18.1 | 2.18.1 |
References
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25177 · ADVISORY
- https://github.com/jenkinsci/workflow-cps-global-lib-plugin · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Feb 2022)