Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.19 | affected |
|
||||||
| Red Hat | Red Hat OpenShift Container Platform 4.20 | affected |
|
||||||
| Red Hat | Red Hat OpenShift Container Platform 4.21 | affected |
|
||||||
| Red Hat | Red Hat OpenShift Container Platform 4.22 | affected |
|
||||||
| Red Hat | Pen Drive Powered by Red Hat Lightspeed | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Openshift Container Platform |
|
||||||||
| Redhat | Pen Drive Powered By Red Hat Lightspeed |
|
Vendor Workaround
To mitigate this issue, users of `kube-compare` should ensure that any container images referenced via the `container://` scheme are from trusted sources. Avoid using untrusted or unverified container images as reference paths. If `docker` is configured to require `sudo` for daemon socket access, consider reviewing `sudo` policies to limit `docker` command execution to trusted users and contexts.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.363% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:openshift:4.19::el9 | |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:openshift:4.20::el9 | |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:openshift:4.21::el9 cpe:/a:redhat:openshift:4.22::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openshift Container Platform
Redhat pen Drive Powered By Red Hat Lightspeed |
|
| Vendors & Products |
Redhat openshift Container Platform
Redhat pen Drive Powered By Red Hat Lightspeed |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in kube-compare. When processing a 'container://' reference path, the tool incorrectly executes an untrusted container image's entrypoint instead of merely extracting data from a stopped container. This allows a remote attacker to achieve arbitrary code execution on the operator's workstation. If the Docker daemon requires elevated privileges, the untrusted code may execute with root-mediated daemon privileges, posing a significant security risk. | |
| Title | Kube-compare: container:// reference extraction runs the image entrypoint and silently escalates to sudo | |
| First Time appeared |
Redhat
Redhat openshift Redhat pdrive Lightspeed |
|
| Weaknesses | CWE-829 | |
| CPEs | cpe:/a:redhat:openshift:4 cpe:/a:redhat:pdrive_lightspeed:1 |
|
| Vendors & Products |
Redhat
Redhat openshift Redhat pdrive Lightspeed |
|
| References |
| |
| Metrics |
cvssV3_1
|