CVE-2023-40341 Jenkins Blue Ocean Plugin cross-site request forgery vulnerability

High 8.8 Published Updated

Attackers can exploit CSRF to connect to malicious URLs and capture GitHub credentials associated with specific jobs in Jenkins.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-40341?

CVE-2023-40341 is a high-severity vulnerability in Jenkins Blue Ocean Plugin, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A cross-site request forgery (CSRF) vulnerability in Jenkins Blue Ocean Plugin 1.27.5 and earlier allows attackers to connect to an attacker-specified URL, capturing GitHub credentials associated with an attacker-specified job.

Weakness: CWE-352

Which versions are affected by CVE-2023-40341?

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.27.5.1
io.jenkins.blueocean:blueocean MavenAll versions1.27.5.1

Products include Jenkins Blue Ocean.

How do I fix CVE-2023-40341?

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

Is CVE-2023-40341 being exploited?

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

Sources

Also known as GHSA-g4pq-p927-7pgg.

Is CVE-2023-40341 in your software?

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

Check your SBOMs for free