cbcvebase.
CVE-2024-34144
published 2024-05-02

CVE-2024-34144: A sandbox bypass vulnerability involving crafted constructor bodies in Jenkins Script Security Plugin 1335.vf07d9ce377a_e and earlier allows attackers with…

PriorityP274critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
48.08%
98.7th percentile
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.

Affected

6 ranges
VendorProductVersion rangeFixed in
jenkinsgit_server_plugin
jenkinsscript_security<= 1335.vf07d9ce377a_e
jenkinsscript_security_plugin
jenkinssubversion_partial_release_manager_plugin
jenkinstelegram_bot_plugin
jenkins_projectjenkins_script_security_plugin<= 1335.vf07d9ce377a_e

Detection & IOCsextracted from sources · hover to see the quote

  • Sandbox bypass via crafted constructor bodies that trigger other constructors, allowing construction of any subclassable type through implicit casts in Jenkins Script Security Plugin
  • Sandbox bypass via Groovy classes defined within the sandbox that overshadow certain non-sandboxed classes, facilitating creation of any subclassable type
  • Calls to super constructors and 'this' constructor chaining are not intercepted by the sandbox in vulnerable versions — monitor sandboxed Pipeline/Groovy scripts making unusual constructor calls
  • Classes in packages that can be overshadowed by Groovy-defined classes were not checked during super constructor call interception — flag sandboxed scripts defining classes that shadow standard Java/Groovy packages
  • ·Vulnerability affects Jenkins Script Security Plugin versions up to and including 1335.vf07d9ce377a_e; upgrade beyond this version to obtain the fix
  • ·Exploitation requires the attacker to already have permission to define and run sandboxed scripts (including Pipelines) on the Jenkins controller — not an unauthenticated attack vector
  • ·Jenkins (jenkins-2-plugins) on Red Hat OpenShift Container Platform 3.11 is out of support scope and will not receive a fix from Red Hat

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.