CVE-2020-2254 Path traversal vulnerability in Blue Ocean Plugin

Medium 6.5 Published Updated

An attacker with job configuration permissions can read arbitrary files on the Jenkins controller if an undocumented feature flag is enabled.

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-2020-2254?

CVE-2020-2254 is a medium-severity path traversal vulnerability in Jenkins Blue Ocean 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 Blue Ocean Plugin 1.23.2 and earlier provides an undocumented feature flag that, when enabled, allows an attacker with Job/Configure or Job/Create permission to read arbitrary files on the Jenkins controller file system.

Weakness: CWE-22

Which versions are affected by CVE-2020-2254?

2 open source packages ship an affected version, including io.jenkins.blueocean:blueocean. It affects 1 product.

PackageAffectedFixed in
io.jenkins.blueocean:blueocean MavenAll versions1.23.3
io.jenkins.blueocean:blueocean MavenAll versions1.23.3

Products include Jenkins Blue Ocean.

How do I fix CVE-2020-2254?

Upgrade io.jenkins.blueocean:blueocean to 1.23.3 or later.

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

Is CVE-2020-2254 being exploited?

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

Sources

Also known as GHSA-vq7j-6pcq-f48p.

Is CVE-2020-2254 in your software?

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

Check your SBOMs for free