Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-7387— Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy

Quick assessment

Affected
CVE-2024-7387
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Red Hat OpenShift Container Platform是美国红帽(Red Hat)公司的一套可帮助企业在物理、虚拟和公共云基础架构之间开发、部署和管理现有基于容器的应用程序的应用平台。 Red Hat OpenShift Container Platform 4存在安全漏洞,该漏洞源于openshift/builder允许通过路径穿越进行命令注入,恶意用户可以在运行构建器容器的OpenShift节点上执行任意命令。

CVSS 9.1 · Critical EPSS 2.32% · P83

Possible ATT&CK Techniques 1 AI

T1059.004 · Unix Shell

Affected Version Matrix 197

VendorProduct Version RangeStatus
None None < 0b62633adfa2836465202bc851885e078ec888d1 affected
Red Hat Red Hat OpenShift Container Platform 4.12 v4.12.0-202409121032.p1.g609473f.assembly.stream.el8< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.13 v4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.14 v4.14.0-202409111409.p1.g52565ca.assembly.stream.el8< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.15 v4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.16 v4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.17 v4.17.0-202409122005.p1.gcfcf3bd.assembly.stream.el9< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g088dcaf.assembly.stream.el9< * unaffected
v4.18.0-202501230001.p0.gd4fb1b6.assembly.stream.el9< * unaffected
v4.18.0-202501230001.p0.g11ced00.assembly.stream.el9< * unaffected
v4.18.0-202501230001.p0.gf648c78.assembly.stream.el9< * unaffected
v4.18.0-202501230001.p0.g24a6532.assembly.stream.el9< * unaffected
v4.18.0-202502100301.p0.g2e139ed.assembly.stream.el9< * unaffected
v4.18.0-202501230001.p0.g3193a75.assembly.stream.el9< * unaffected
v4.18.0-202502041302.p0.g1ad8f2e.assembly.stream.el9< * unaffected
… +182 more rows

I. Basic Information for CVE-2024-7387

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy
Source: CVE Program / CVE List V5
Vulnerability Description
A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the “Docker” strategy, executable files inside the privileged build container can be overridden using the `spec.source.secrets.secret.destinationDir` attribute of the `BuildConfig` definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
带着不必要的权限执行
Source: CVE Program / CVE List V5
Vulnerability Title
Red Hat OpenShift Container Platform 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Red Hat OpenShift Container Platform是美国红帽(Red Hat)公司的一套可帮助企业在物理、虚拟和公共云基础架构之间开发、部署和管理现有基于容器的应用程序的应用平台。 Red Hat OpenShift Container Platform 4存在安全漏洞,该漏洞源于openshift/builder允许通过路径穿越进行命令注入,恶意用户可以在运行构建器容器的OpenShift节点上执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 0b62633adfa2836465202bc851885e078ec888d1 -
Red Hat Red Hat OpenShift Container Platform 4.12 v4.12.0-202409121032.p1.g609473f.assembly.stream.el8 ~ * cpe:/a:redhat:openshift:4.12::el8
Red Hat Red Hat OpenShift Container Platform 4.13 v4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8 ~ * cpe:/a:redhat:openshift:4.13::el8
Red Hat Red Hat OpenShift Container Platform 4.14 v4.14.0-202409111409.p1.g52565ca.assembly.stream.el8 ~ * cpe:/a:redhat:openshift:4.14::el8
Red Hat Red Hat OpenShift Container Platform 4.15 v4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8 ~ * cpe:/a:redhat:openshift:4.15::el8
Red Hat Red Hat OpenShift Container Platform 4.16 v4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.16::el9
Red Hat Red Hat OpenShift Container Platform 4.17 v4.17.0-202409122005.p1.gcfcf3bd.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.17::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g088dcaf.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.gd4fb1b6.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g11ced00.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.gf648c78.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g24a6532.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502100301.p0.g2e139ed.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g3193a75.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502041302.p0.g1ad8f2e.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g7149f2d.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g7149f2d.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g962ccca.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.gba2234b.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502111035.p0.gf76635f.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502100934.p0.gc00c7c9.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g07daee4.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502040032.p0.ge5a4005.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502040032.p0.g5348c85.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202502041302.p0.g51a74ac.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g5348c85.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g3f6d1d8.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g0e11616.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.gc395190.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.18 v4.18.0-202501230001.p0.g6bd77fc.assembly.stream.el9 ~ * cpe:/a:redhat:openshift:4.18::el9

II. Public POCs for CVE-2024-7387

# POC Description Source Link Shenlong Link
1 None https://github.com/tevelsho/cve-2024-7387 POC Details
2 overwrites system binaries allowing priv esc from dev to worker node https://github.com/0xSigSegv0x00/cve-2024-7387 POC Details
3 poc for path traversal allowing privilege escalation from developer to worker node https://github.com/fatcatresearch/cve-2024-7387 POC Details
4 developer-to-node privilege escalation via path traversal https://github.com/pwnc4t/cve-2024-7387 POC Details
5 openshift privilege escalation exploit https://github.com/tevsho/cve-2024-7387 POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10284 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-7387

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-7387 (1)

Vendor Advisories for CVE-2024-7387 (8)

Security Blog Posts for CVE-2024-7387 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-7387

No comments yet


Leave a comment