CVE-2024-3154
published 2024-04-26CVE-2024-3154: 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…
PriorityP344high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
EPSS
1.42%
69.5th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | cri-o_cri-o | >= 0 < 1.27.6 | 1.27.6 |
| github.com | cri-o_cri-o | >= 1.28.0 < 1.28.6 | 1.28.6 |
| github.com | cri-o_cri-o | >= 1.29.0 < 1.29.4 | 1.29.4 |
| msrc | cbl2_cri-o_1.22.3-14_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_cri-o_1.22.3-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vendor_msrc7.2HIGH
vendor_redhat7.2HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CRI-O vulnerable to an arbitrary systemd property injection in github.com/cri-o/cri-o
osv·2024-06-04
CVE-2024-3154 CRI-O vulnerable to an arbitrary systemd property injection in github.com/cri-o/cri-o
CRI-O vulnerable to an arbitrary systemd property injection in github.com/cri-o/cri-o
CRI-O vulnerable to an arbitrary systemd property injection in github.com/cri-o/cri-o
OSV
CRI-O vulnerable to an arbitrary systemd property injection
osv·2024-04-30
CVE-2024-3154 [HIGH] CRI-O vulnerable to an arbitrary systemd property injection
CRI-O vulnerable to an arbitrary systemd property injection
### Impact
On CRI-O, it looks like an arbitrary systemd property can be injected via a Pod annotation:
```
---
apiVersion: v1
kind: Pod
metadata:
name: poc-arbitrary-systemd-property-injection
annotations:
# I believe that ExecStart with an arbitrary command works here too,
# but I haven't figured out how to marshalize the ExecStart struct to gvariant string.
org.systemd.property.SuccessAction: "'poweroff-force'"
spec:
containers:
- name: hello
image: [quay.io/podman/hello](http://quay.io/podman/hello)
```
This means that any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system.
Tested with CRI-O v1.24 on minikube.
I didn't test the latest v1.29 because it is incompatible wit
GHSA
CRI-O vulnerable to an arbitrary systemd property injection
ghsa·2024-04-30
CVE-2024-3154 [HIGH] CWE-77 CRI-O vulnerable to an arbitrary systemd property injection
CRI-O vulnerable to an arbitrary systemd property injection
### Impact
On CRI-O, it looks like an arbitrary systemd property can be injected via a Pod annotation:
```
---
apiVersion: v1
kind: Pod
metadata:
name: poc-arbitrary-systemd-property-injection
annotations:
# I believe that ExecStart with an arbitrary command works here too,
# but I haven't figured out how to marshalize the ExecStart struct to gvariant string.
org.systemd.property.SuccessAction: "'poweroff-force'"
spec:
containers:
- name: hello
image: [quay.io/podman/hello](http://quay.io/podman/hello)
```
This means that any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system.
Tested with CRI-O v1.24 on minikube.
I didn't test the latest v1.29 because it is incompatible wit
Red Hat
cri-o: Arbitrary command injection via pod annotation
vendor_redhat·2024-04-22·CVSS 7.2
CVE-2024-3154 [HIGH] CWE-77 cri-o: Arbitrary command injection via pod annotation
cri-o: Arbitrary command injection via pod annotation
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.
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.
Package: cri-o (Red Hat OpenShift Container Platform 3.11) - Not affected
Microsoft
Cri-o: arbitrary command injection via pod annotation
vendor_msrc·2024-04-09·CVSS 7.2
CVE-2024-3154 [HIGH] CWE-77 Cri-o: arbitrary command injection via pod annotation
Cri-o: arbitrary command injection via pod annotation
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2024:2669https://access.redhat.com/errata/RHSA-2024:2672https://access.redhat.com/errata/RHSA-2024:2784https://access.redhat.com/errata/RHSA-2024:3496https://access.redhat.com/security/cve/CVE-2024-3154https://bugzilla.redhat.com/show_bug.cgi?id=2272532https://github.com/cri-o/cri-o/security/advisories/GHSA-2cgq-h8xw-2v5jhttps://github.com/opencontainers/runc/pull/4217https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjsonhttps://access.redhat.com/errata/RHSA-2024:2669https://access.redhat.com/errata/RHSA-2024:2672https://access.redhat.com/errata/RHSA-2024:2784https://access.redhat.com/errata/RHSA-2024:3496https://access.redhat.com/security/cve/CVE-2024-3154https://bugzilla.redhat.com/show_bug.cgi?id=2272532https://github.com/cri-o/cri-o/security/advisories/GHSA-2cgq-h8xw-2v5jhttps://github.com/opencontainers/runc/pull/4217https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjson
2024-04-26
Published