CVE-2020-2275 Arbitrary file read vulnerability in Copy data to workspace Jenkins Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jvnet.hudson.plugins:copy-data-to-workspace-plugin Maven | All versions to 1.0 | None |
org.jvnet.hudson.plugins:copy-data-to-workspace-plugin Maven | All versions to 1.0 | None |
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.