CVE-2023-32981
JSON

8.8high

Jenkins Pipeline Utility Steps Plugin arbitrary file write vulnerability

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.02% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-6987-xccv-fhjp

Description

An arbitrary file write vulnerability in Jenkins Pipeline Utility Steps Plugin 2.15.2 and earlier allows attackers able to provide crafted archives as parameters to create or replace arbitrary files on the agent file system with attacker-specified content.

Affected

Product or packageVersionsReported by
Jenkins Project Jenkins Pipeline Utility Steps Pluginup to 2.15.2CVE List
org.jenkins-ci.plugins:pipeline-utility-steps (Maven)before 2.15.3GitHub Advisory Database
jenkins pipeline_utility_stepsup to 2.15.2NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

An arbitrary file write vulnerability in Jenkins Pipeline Utility Steps Plugin 2.15.2 and earlier allows attackers able to provide crafted archives as parameters to create or replace arbitrary files on the agent file system with attacker-specified content.

GitHub Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2023-32981 changed 2025-01-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-6987-xccv-fhjp changed 2024-02-16CC-BY-4.0
NVDCVE-2023-32981 changed 2026-06-17Public domain