CVE-2024-45496: Github.com/openshift/openshift controller manager OpenShift Controller Manager Improper Privilege Vulnerability
MODERATECVE-2024-45496 is a MODERATE (CVSS 9.9) openshift controller manager improper privilege vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/openshift/openshift controller manager libraries in the Go ecosystem. The issue involves openshift controller manager improper privilege management. Remediation is available by upgrading affected packages to version 0.0.0-alpha.0.0.20240911.
CVE-2024-45496 at a Glance
Security Impact
CVSS: 9.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L).
How to Fix CVE-2024-45496
To remediate this vulnerability, upgrade all affected Github.com/openshift/openshift controller manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openshift/openshift-controller-manager to 0.0.0-alpha.0.0.20240911
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openshift/openshift-controller-manager
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-45496, inspect your project dependencies for Github.com/openshift/openshift controller manager:
inspect dependencies for github.com/openshift/openshift-controller-manager
Analyze the terminal output to locate any version of Github.com/openshift/openshift controller manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-alpha.0.0.20240911), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/openshift/openshift controller manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-45496 Affected Github.com/openshift/openshift controller manager Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openshift/openshift-controller-manager
|
Go |
< 0.0.0-alpha.0.0.20240911
|
0.0.0-alpha.0.0.20240911
|
References
Frequently Asked Questions
What is CVE-2024-45496?
Which Github.com/openshift/openshift controller manager versions are affected?
What version fixes CVE-2024-45496?
Is github.com/openshift/openshift-controller-manager affected?
What is the CVSS score of CVE-2024-45496?
What CWE is associated with CVE-2024-45496?
How can I check Go dependencies for CVE-2024-45496?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j8gh-87rx-c7w9",
"modified" : "2025-01-09T09:31:40Z",
"published" : "2024-09-17T00:31:06Z",
"aliases" : [ "CVE-2024-45496" ],
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openshift/openshift-controller-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-alpha.0.0.20240911"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45496"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:3718"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6685"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6687"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6689"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6691"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6705"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-45496"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2308661"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openshift/openshift-controller-manager"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-3128"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-17T18:14:23Z",
"nvd_published_at" : "2024-09-17T00:15:52Z"
}
}