Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openshift/openshift-controller-manager
  4. ›
  5. CVE-2024-45496

CVE-2024-45496: OpenShift Controller Manager Improper Privilege Management

September 17, 2024 (updated January 9, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2024:3718
  • access.redhat.com/errata/RHSA-2024:6685
  • access.redhat.com/errata/RHSA-2024:6687
  • access.redhat.com/errata/RHSA-2024:6689
  • access.redhat.com/errata/RHSA-2024:6691
  • access.redhat.com/errata/RHSA-2024:6705
  • access.redhat.com/security/cve/CVE-2024-45496
  • bugzilla.redhat.com/show_bug.cgi?id=2308661
  • github.com/advisories/GHSA-j8gh-87rx-c7w9
  • github.com/openshift/openshift-controller-manager
  • github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046
  • nvd.nist.gov/vuln/detail/CVE-2024-45496
  • pkg.go.dev/vuln/GO-2024-3128

Code Behaviors & Features

Detect and mitigate CVE-2024-45496 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-alpha.0.0.20240911

Fixed versions

  • 0.0.0-alpha.0.0.20240911

Solution

Upgrade to version 0.0.0-alpha.0.0.20240911 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

go/github.com/openshift/openshift-controller-manager/CVE-2024-45496.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.