CVE-2024-45496: OpenShift Container Platform - Command Injection
- Cve: CVE-2024-45496
- Name: OpenShift Container Platform - Command Injection
- Description: A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.
- Impact: Attackers can execute arbitrary commands on the node, potentially leading to privilege escalation and full system compromise.
- Remediation: Restrict the use of privileged security context during build initialization and update to the latest version of OpenShift.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs developer-level access and to provide a crafted .gitconfig file
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
- Epss score: 0.01016
- Epss percentile: 0.64161
- Assignee: [email protected]
- Published at: 2024-09-17T00:15:52Z
- Age in days: 798
- Modified at: 2026-08-11T16:17:18Z
- References total: 9
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-45496
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-269 | Improper Privilege Management |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redhat:openshift_container_platform | all versions | no | cna_alias | /v1/products/redhat/openshift_container_platform |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openshift/openshift-controller-manager | commit, package | yes | /v1/repositories/openshift/openshift-controller-manager |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts