Advisory

GHSA-j8gh-87rx-c7w9

Also known as: CVE-2024-45496, GO-2024-3128

Summary

OpenShift Controller Manager Improper Privilege Management

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-17 00:31 UTC
Modified
2025-01-09 09:31 UTC

Affected packages and fixes

github.com/openshift/openshift-controller-manager

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-alpha.0.0.20240911 (semver)

Fixed versions

0.0.0-alpha.0.0.20240911

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences