GitHub Advisoryadvisory · Go

GHSA-j8gh-87rx-c7w9 OpenShift Controller Manager Improper Privilege Management

MEDIUM Published 2024-09-17 Modified 2025-01-09 Official page ↗
Aliases
CVE-2024-45496
Ecosystem
Go
Packages
github.com/openshift/openshift-controller-manager
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Weaknesses
CWE-269
Reviewed
2024-09-17

Affected packages

• Go github.com/openshift/openshift-controller-manager: < 0.0.0-alpha.0.0.20240911 → fixed in 0.0.0-alpha.0.0.20240911

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.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-269 Improper Privilege Management weakness

References