Security mailing lists by PureSourceCode

CVE-2022-25178

MEDIUM 6.5CVSS 3.1

Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission 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-22
Also known as
GHSA-5hfv-mg5x-mv32
Sources
NVDJSONOSV GHSA-5hfv-mg5x-mv32JSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jenkins pipeline:shared_groovy_libraries
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.