~ / search / GHSA-6987-xccv-fhjp

GHSA-6987-xccv-fhjp

Jenkins Pipeline Utility Steps Plugin arbitrary file write vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-32981

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins:pipeline-utility-steps < 2.15.3 2.15.3

Details

As written in the advisory (Markdown source, shown as plain text).

Jenkins Pipeline Utility Steps Plugin provides the `untar` and `unzip` Pipeline steps to extract archives into job workspaces. Pipeline Utility Steps Plugin 2.15.2 and earlier does not validate or limit file paths of files contained within these archives. This allows attackers able to provide crafted archives as parameters to create or replace arbitrary files on the agent file system with attacker-specified content. Pipeline Utility Steps Plugin 2.15.3 rejects extraction of files in `tar` and `zip` archives that would be placed outside the expected destination directory.

References

External links from the advisory. They lead to third-party sites.