Skip to content

x/vulndb: potential Go vuln in github.com/openshift/console: GHSA-69x5-hjg4-m267 #3539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Mar 20, 2025 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-69x5-hjg4-m267 references a vulnerability in the following Go modules:

Module
github.com/openshift/console

Description:
A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint's lng and ns parameters are used to construct a filepath in pkg/plugins/handlers unsafely.go#L112 Because of this unsafe filepath construction, an authenticated user can manipulate the path to retrieve any JSON files on the console's pod by using sequences of ../ and valid directory paths.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/openshift/console
      vulnerable_at: 6.0.6+incompatible
summary: OpenShift Console Has a Path Traversal Vulnerability in github.com/openshift/console
cves:
    - CVE-2024-7631
ghsas:
    - GHSA-69x5-hjg4-m267
references:
    - advisory: https://github.com/advisories/GHSA-69x5-hjg4-m267
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-7631
    - web: https://access.redhat.com/security/cve/CVE-2024-7631
    - web: https://bugzilla.redhat.com/show_bug.cgi?id=2296053
source:
    id: GHSA-69x5-hjg4-m267
    created: 2025-03-20T19:01:26.803457528Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/660559 mentions this issue: data/reports: add 28 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants