cve.bz

CVE-2024-34145 jenkins script security: Authentication Bypass by Spoofing

8.8 highEPSS 1.0%Fix available

High (8.8) in jenkins script security. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins:script-security 1336.vf33a.

On this page
A sandbox bypass vulnerability involving sandbox-defined classes that shadow specific non-sandbox-defined classes 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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-290 Authentication Bypass by Spoofing
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-34145 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-34145?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-34145?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-34145 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins Project Jenkins Script Security Pluginthrough 1335.vf07d9ce377a_e

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2g4q-9vm9-9fw4Mavenorg.jenkins-ci.plugins:script-security<1336.vf33a1336.vf33a

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatocp_tools:4.12::el8jenkins0:2.440.3.1716445200-3.el8RHSA-2024:3635
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1716445211-1.el8RHSA-2024:3635
Red Hatocp_tools:4.13::el8jenkins0:2.440.3.1716445150-3.el8RHSA-2024:3636
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1716445207-1.el8RHSA-2024:3636
Red Hatocp_tools:4.14::el8jenkins0:2.440.3.1716387933-3.el8RHSA-2024:3634
Red Hatocp_tools:4.14::el8jenkins-2-plugins0:4.14.1716388016-1.el8RHSA-2024:3634
Red Hatocp_tools:4.15::el8jenkins0:2.440.3.1718879390-3.el8RHSA-2024:4597
Red Hatocp_tools:4.15::el8jenkins-2-plugins0:4.15.1718879538-1.el8RHSA-2024:4597

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates the security impact of this vulnerability as Important due to the worst case scenario resulting in a process being able to access resources outside an assigned sandbox.

The vulnerabilities that allow for sandbox bypass have been identified in versions up to 1335.vf07d9ce377a_e of the Script Security Plugin. These vulnerabilities include exploiting specially crafted constructor bodies, utilizing certain groovy classes.

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-0:2.440.3.1716445200-3.el8Fixed 2024-06-05RHSA-2024:3635
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1716445211-1.el8Fixed 2024-06-05RHSA-2024:3635
OCP-Tools-4.13-RHEL-8jenkins-0:2.440.3.1716445150-3.el8Fixed 2024-06-05RHSA-2024:3636
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1716445207-1.el8Fixed 2024-06-05RHSA-2024:3636
OCP-Tools-4.14-RHEL-8jenkins-0:2.440.3.1716387933-3.el8Fixed 2024-06-05RHSA-2024:3634
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1716388016-1.el8Fixed 2024-06-05RHSA-2024:3634
OCP-Tools-4.15-RHEL-8jenkins-0:2.440.3.1718879390-3.el8Fixed 2024-07-17RHSA-2024:4597
OCP-Tools-4.15-RHEL-8jenkins-2-plugins-0:4.15.1718879538-1.el8Fixed 2024-07-17RHSA-2024:4597
Red Hat OpenShift Container Platform 3.11jenkinsOut of support scope
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-34145.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High
  • CAPEC-473 Signature Spoof
  • CAPEC-476 Signature Spoofing by Misrepresentation Likelihood: Low · Severity: High
  • CAPEC-667 Bluetooth Impersonation AttackS (BIAS) Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON