{"id":"CVE-2025-27512","published":"2025-03-17T14:46:28Z","modified":"2025-03-17T15:01:42Z","title":"Zincati allows unprivileged access to rpm-ostree D-Bus `Deploy()` and `FinalizeDeployment()` methods","vendor":"coreos","product":"zincati","tier":"tail","description":{"text":"Zincati is an auto-update agent for Fedora CoreOS hosts. Zincati ships a polkit rule which allows the `zincati` system user to use the actions `org.projectatomic.rpmostree1.deploy` to deploy updates to the system and `org.projectatomic.rpmostree1.finalize-deployment` to reboot the system into the deployed update. Since Zincati v0.0.24, this polkit rule contains a logic error which broadens access of those polkit actions to any unprivileged user rather than just the `zincati` system user. In practice, this means that any unprivileged user with access to the system D-Bus socket is able to deploy older Fedora CoreOS versions (which may have other known vulnerabilities). Note that rpm-ostree enforces that the selected version must be from the same branch the system is currently on so this cannot directly be used to deploy an attacker-controlled update payload. This primarily impacts users running untrusted workloads with access to the system D-Bus socket. Note that in general, untrusted workloads should not be given this access, whether containerized or not. By default, containers do not have access to the system D-Bus socket. The logic error is fixed in Zincati v0.0.30. A workaround is to manually add a following polkit rule, instructions for which are available in the GitHub Security Advisory.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00286,"percentile":0.13769,"provenance":"source"},"cwes":[{"id":"CWE-783","name":"Operator Precedence Logic Error"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/coreos/zincati/security/advisories/GHSA-w6fv-6gcc-x825","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coreos/zincati/commit/01d8e89f799e6ba21bdf7dc668abce23bd0d8f78","tags":["x_refsource_MISC"]},{"url":"https://github.com/coreos/zincati/commit/28a43aa2c1edda091ba659677d73c13e6e3ea99d","tags":["x_refsource_MISC"]},{"url":"https://github.com/coreos/zincati/releases/tag/v0.0.24","tags":["x_refsource_MISC"]},{"url":"https://github.com/coreos/zincati/releases/tag/v0.0.30","tags":["x_refsource_MISC"]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":2.75},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"coreos","affectedVersions":[{"vendor":"coreos","product":"zincati","versions":[">= 0.0.24, < 0.0.30"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-17T15:01:29.371339Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"zincati","vulnerableRanges":[">=0.0.24, <0.0.30"],"patched":["0.0.30"],"from":["GHSA-w6fv-6gcc-x825"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-6496","exploited":false,"provenance":"source"}}