golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 61 forks source link

x/vulndb: potential Go vuln in github.com/openshift/openshift-controller-manager: GHSA-j8gh-87rx-c7w9 #3128

Closed GoVulnBot closed 1 month ago

GoVulnBot commented 1 month ago

Advisory GHSA-j8gh-87rx-c7w9 references a vulnerability in the following Go modules:

Module
github.com/openshift/openshift-controller-manager

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 containe...

References:

No existing reports found with this module or alias. See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/openshift/openshift-controller-manager
      non_go_versions:
        - fixed: 0.0.0-alpha.0.0.20240911
      vulnerable_at: 0.0.0-alpha.0
summary: OpenShift Controller Manager Improper Privilege Management in github.com/openshift/openshift-controller-manager
cves:
    - CVE-2024-45496
ghsas:
    - GHSA-j8gh-87rx-c7w9
references:
    - advisory: https://github.com/advisories/GHSA-j8gh-87rx-c7w9
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-45496
    - fix: https://github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046
    - web: https://access.redhat.com/security/cve/CVE-2024-45496
    - web: https://bugzilla.redhat.com/show_bug.cgi?id=2308661
source:
    id: GHSA-j8gh-87rx-c7w9
    created: 2024-09-17T19:01:22.210840531Z
review_status: UNREVIEWED
gopherbot commented 1 month ago

Change https://go.dev/cl/614076 mentions this issue: data/reports: add GO-2024-3128