CVE-2024-34144 Jenkins Script Security Plugin has sandbox bypass vulnerability involving crafted constructor bodies

Critical 9.8 Published Updated

Attackers with script permissions can bypass sandbox restrictions to execute arbitrary code on the Jenkins controller.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-34144?

CVE-2024-34144 is a critical vulnerability in Jenkins Script Security Plugin, published on 2 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with permission to define and run sandboxed scripts, including Pipelines, to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.

Weakness: CWE-693

Which versions are affected by CVE-2024-34144?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:script-security MavenAll versions1336.vf33a
org.jenkins-ci.plugins:script-security MavenAll versions1336.vf33a

Products include Jenkins Script Security.

How do I fix CVE-2024-34144?

Upgrade org.jenkins-ci.plugins:script-security to 1336.vf33a or later.

Is CVE-2024-34144 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v63g-v339-2673.

Is CVE-2024-34144 in your software?

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

Check your SBOMs for free