cve.bz

CVE-2023-24422 jenkins script security: OS Command Injection

8.8 highEPSS 0.6%Fix available

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

On this page
A sandbox bypass vulnerability involving map constructors in Jenkins Script Security Plugin 1228.vd93135a_2fb_25 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:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th 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 2025-04-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-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-24422 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24422?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24422?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-2023-24422 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 1228.vd93135a_2fb_25

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-76qj-9gwh-pvv3Mavenorg.jenkins-ci.plugins:script-security<1229.v4880b1229.v4880b

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatocp_tools:4.11::el8jenkins0:2.387.1.1683009763-3.el8RHSA-2023:3198
Red Hatocp_tools:4.11::el8jenkins0:2.414.3.1698298955-3.el8RHSA-2023:6171
Red Hatocp_tools:4.11::el8jenkins0:2.426.3.1706516929-3.el8RHSA-2024:0775
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1683009941-1.el8RHSA-2023:3198
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1698299029-1.el8RHSA-2023:6171
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1706516946-1.el8RHSA-2024:0775
Red Hatocp_tools:4.12::el8jenkins0:2.387.1.1683009767-3.el8RHSA-2023:3195
Red Hatocp_tools:4.12::el8jenkins0:2.401.1.1686649641-3.el8RHSA-2023:3610
Red Hatocp_tools:4.12::el8jenkins0:2.414.3.1698293911-3.el8RHSA-2023:6172
Red Hatocp_tools:4.12::el8jenkins0:2.426.3.1706515686-3.el8RHSA-2024:0778
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1683009955-1.el8RHSA-2023:3195
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1686649756-1.el8RHSA-2023:3610
17 more for Red Hat in the JSON and on Red Hat's page.

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

OpenShift 3.11 is already in the ELS support model phase. The Jenkins components are out of scope of the ELS support; hence OpenShift 3.11 Jenkins component is marked in this CVE as out of support scope.

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1683009955-1.el8Fixed 2023-05-18RHSA-2023:3195
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1686649756-1.el8Fixed 2023-06-15RHSA-2023:3610
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1698294000-1.el8Fixed 2023-10-30RHSA-2023:6172
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1706515741-1.el8Fixed 2024-02-12RHSA-2024:0778
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1684911916-1.el8Fixed 2023-05-24RHSA-2023:3299
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1698292274-1.el8Fixed 2023-10-30RHSA-2023:6179
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1706516346-1.el8Fixed 2024-02-12RHSA-2024:0776
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1699356715-1.el8Fixed 2023-11-16RHSA-2023:7288
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1706516441-1.el8Fixed 2024-02-12RHSA-2024:0777
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1683009941-1.el8Fixed 2023-05-17RHSA-2023:3198
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1698299029-1.el8Fixed 2023-10-30RHSA-2023:6171
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1706516946-1.el8Fixed 2024-02-12RHSA-2024:0775
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1680703106-1.el8Fixed 2023-04-12RHSA-2023:1655
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-2023-24422.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

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

References

Check your stackJSON