CVE-2023-32981 Jenkins Pipeline Utility Steps Plugin arbitrary file write vulnerability

High 8.8 Published Updated

Attackers can write arbitrary files to the agent file system via crafted archives, potentially leading to code execution or data modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-32981?

CVE-2023-32981 is a high-severity path traversal vulnerability in Jenkins Pipeline Utility Steps Plugin, published on 16 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2023-32981?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:pipeline-utility-steps. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:pipeline-utility-steps MavenAll versions2.15.3
org.jenkins-ci.plugins:pipeline-utility-steps MavenAll versions2.15.3

Products include Jenkins Pipeline Utility Steps.

How do I fix CVE-2023-32981?

Upgrade org.jenkins-ci.plugins:pipeline-utility-steps to 2.15.3 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-32981 being exploited?

There is no known exploitation of CVE-2023-32981 in the wild and no public exploit code.

Sources

Also known as GHSA-6987-xccv-fhjp.

Is CVE-2023-32981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free