Jenkins Pipeline Utility Steps Plugin arbitrary file write vulnerability
Moderate severity
GitHub Reviewed
Published
May 16, 2023
to the GitHub Advisory Database
•
Updated Jan 4, 2024
Package
Affected versions
< 2.15.3
Patched versions
2.15.3
Description
Published by the National Vulnerability Database
May 16, 2023
Published to the GitHub Advisory Database
May 16, 2023
Reviewed
May 17, 2023
Last updated
Jan 4, 2024
Jenkins Pipeline Utility Steps Plugin provides the
untar
andunzip
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
andzip
archives that would be placed outside the expected destination directory.References