Vulnerability · Published Apr 26, 2024 · Assigned by redhat
CVE-2024-3154Cri-o: arbitrary command injection via pod annotation
High 7.2
In plain English
A high-severity command injection in cri-o. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.2High
Exploit odds (30 days)1.4%top 27.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A flaw was found in cri-o, where an arbitrary systemd property can be injected via a Pod annotation. Any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | 1.29.4 | GHSA-2cgq-h8xw-2v5j |
| Go | github.com/cri-o/cri-o | 1.28.6 | GHSA-2cgq-h8xw-2v5j |
| Go | github.com/cri-o/cri-o | 1.27.6 | GHSA-2cgq-h8xw-2v5j |
| Go | github.com/cri-o/cri-o | 1.27.6, 1.28.6, 1.29.4 | GO-2024-2791 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cri-o | 1.27.51.28.51.29.3 | |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | see references |
| Red Hat | Red Hat OpenShift Container Platform 3.11 | see references |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2024:2669 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2672 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2784 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3496 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-3154 vdb-entry, x_refsource_REDHAT
- RHBZ#2272532 issue-tracking, x_refsource_REDHAT
- https://github.com/cri-o/cri-o/security/advisories/GHSA-2cgq-h8xw-2v5j
- https://github.com/opencontainers/runc/pull/4217
- https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjson