CVE-2024-2216 Jenkins docker-build-step Plugin missing permission check

High 8.8 Published Updated

Attackers with read access can reconfigure the plugin via an unprotected endpoint, altering future build executions.

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-2024-2216?

CVE-2024-2216 is a high-severity missing authorization vulnerability in Jenkins docker-build-step Plugin, published on 6 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A missing permission check in an HTTP endpoint in Jenkins docker-build-step Plugin 2.11 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified TCP or Unix socket URL, and to reconfigure the plugin using the provided connection test parameters, affecting future build step executions.

Weakness: CWE-862

Which versions are affected by CVE-2024-2216?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:docker-build-step. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:docker-build-step MavenAll versions to 2.11None
org.jenkins-ci.plugins:docker-build-step MavenAll versions to 2.11None

Products include Jenkins Docker-Build-Step.

How do I fix CVE-2024-2216?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-2216 being exploited?

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

Sources

Also known as GHSA-8h2m-54wh-gwj3.

Is CVE-2024-2216 in your software?

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

Check your SBOMs for free