CVE-2019-16540 Jenkins Support Core Plugin allowed users with Overall/Read permission to delete arbitrary files

Medium 6.5 Published Updated

Attackers with read permissions can delete arbitrary files on the Jenkins master via a path traversal vulnerability in the Support Core Plugin.

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-2019-16540?

CVE-2019-16540 is a medium-severity path traversal vulnerability in Jenkins Support Core Plugin, published on 21 Nov 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A path traversal vulnerability in Jenkins Support Core Plugin 2.63 and earlier allows attackers with Overall/Read permission to delete arbitrary files on the Jenkins master.

Weakness: CWE-22

Which versions are affected by CVE-2019-16540?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:support-core MavenAll versions2.64
org.jenkins-ci.plugins:support-core MavenAll versions2.64

Products include Jenkins Support Core.

How do I fix CVE-2019-16540?

Upgrade org.jenkins-ci.plugins:support-core to 2.64 or later.

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

Is CVE-2019-16540 being exploited?

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

Sources

Also known as GHSA-2cxg-448h-4wxj.

Is CVE-2019-16540 in your software?

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

Check your SBOMs for free