CVE-2019-10340 Jenkins Docker Plugin contains Cross-Site Request Forgery

High 8.8 Published Updated

Attackers can trick users with read access into connecting to malicious URLs, potentially capturing stored Jenkins credentials.

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

CVE-2019-10340 is a high-severity vulnerability in Jenkins Docker Plugin, published on 11 Jul 2019. 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 vulnerability in Jenkins Docker Plugin 1.1.6 and earlier in DockerAPI.DescriptorImpl#doTestConnection allowed users with Overall/Read access to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Weakness: CWE-352

Which versions are affected by CVE-2019-10340?

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

PackageAffectedFixed in
io.jenkins.docker:docker-plugin MavenAll versions1.1.7
io.jenkins.docker:docker-plugin MavenAll versions1.1.7

Products include Jenkins Docker.

How do I fix CVE-2019-10340?

Upgrade io.jenkins.docker:docker-plugin to 1.1.7 or later.

Is CVE-2019-10340 being exploited?

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

Sources

Also known as GHSA-m6gf-p26p-mx2w.

Is CVE-2019-10340 in your software?

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

Check your SBOMs for free