Cri-o: cri-o: unvalidated image env var causes daemon crash
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| affected |
|
||||||||||||||
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — | ||||||||||||
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — | ||||||||||||
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — | ||||||||||||
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Cri-o | Cri-o |
|
||||||||
| Redhat | Openshift Container Platform |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.147% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cri-o
Cri-o cri-o Redhat openshift Container Platform |
|
| Vendors & Products |
Cri-o
Cri-o cri-o Redhat openshift Container Platform |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in CRI-O's container-creation environment-variable handling (`mergeEnvs` in `server/utils.go`, consumed by `setupContainerEnvironmentAndWorkdir` in `server/container_create.go`). When a `CreateContainer` request supplies a `nil` CRI `Envs` field, CRI-O falls back to using the target OCI image's `config.Env` entries unfiltered, in contrast to the normal merge path, which validates each entry for a `key=value` form before use. An OCI image whose `config.Env` contains an entry with no `=` character (e.g. a bare `NOEQUALS` string) causes CRI-O to split that entry into a single-element slice and then index its second element, which is out of range. This triggers an unrecovered Go runtime panic in the `crio` daemon process, crashing it and terminating the container-runtime service for all workloads on the node until it is restarted. | |
| Title | Cri-o: cri-o: unvalidated image env var causes daemon crash | |
| First Time appeared |
Redhat
Redhat openshift |
|
| Weaknesses | CWE-1287 | |
| CPEs | cpe:/a:redhat:openshift:4 | |
| Vendors & Products |
Redhat
Redhat openshift |
|
| References |
| |
| Metrics |
cvssV3_1
|