CVE-2022-25177

Improper Link Resolution Before File Access ('Link Following') in maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib

Identifiers

GHSA-q234-x887-9rxh, CVE-2022-25177

Package Slug

maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib

Vulnerability

Improper Link Resolution Before File Access ('Link Following')

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.

Affected Versions

All versions up to 552.vd9cc05b8a2e1

Solution

Upgrade to version 561.va_ce0de3c2d69 or above.

Last Modified

2022-06-21

source