CVE-2024-7631 Openshift-console: openshift console: path traversal
MediumCVSS 4.3
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift | All versions | No fix listed | No fix yet |
| openshift github.com/openshift/console(Go) | <= 6.0.6; All versions | after 6.0.6 | Partially fixed |
| openshift-console | <= 6.0.6 | after 6.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openshift github.com/openshift/console(Go) | <= 6.0.6 | No fix listed |
| openshift github.com/openshift/console(Go) | All versions | No fix listed |
| openshift-console | <= 6.0.6 | No fix listed |
| redhat openshift | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2296053 issue-tracking
- github.com product
- pkg.go.dev
- github.com vendor-advisory