CVE-2020-2275 Arbitrary file read vulnerability in Copy data to workspace Jenkins Plugin

Medium 6.5 Published Updated

Attackers with Job/Configure permission can read arbitrary files on the Jenkins controller via the Copy data to workspace plugin.

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

What is CVE-2020-2275?

CVE-2020-2275 is a medium-severity path traversal vulnerability in Jenkins Copy data to workspace Plugin, published on 16 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Copy data to workspace Plugin 1.0 and earlier does not limit which directories can be copied from the Jenkins controller to job workspaces, allowing attackers with Job/Configure permission to read arbitrary files on the Jenkins controller.

Weakness: CWE-22

Which versions are affected by CVE-2020-2275?

2 open source packages ship an affected version, including org.jvnet.hudson.plugins:copy-data-to-workspace-plugin. It affects 1 product.

PackageAffectedFixed in
org.jvnet.hudson.plugins:copy-data-to-workspace-plugin MavenAll versions to 1.0None
org.jvnet.hudson.plugins:copy-data-to-workspace-plugin MavenAll versions to 1.0None

Products include Jenkins Copy Data to Workspace.

How do I fix CVE-2020-2275?

No fix has been published for CVE-2020-2275 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2020-2275 being exploited?

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

Sources

Also known as GHSA-2f4c-8rp6-fh6q.

Is CVE-2020-2275 in your software?

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

Check your SBOMs for free