NetSight
high8.8

CVE-2023-32981

Jenkins Pipeline Utility Steps Plugin arbitrary file write vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins:pipeline-utility-steps< 2.15.32.15.3

Affected products

VendorProductAffected versions
JenkinsPipeline Utility Steps
through 2.15.2

Weakness classification

References