Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. zincati
  4. ›
  5. CVE-2025-27512

CVE-2025-27512: Zincati allows unprivileged access to rpm-ostree D-Bus `Deploy()` and `FinalizeDeployment()` methods

March 17, 2025 (updated March 19, 2025)

Zincati ships a polkit rule which allows the zincati system user to use the following actions:

  • org.projectatomic.rpmostree1.deploy: used to deploy updates to the system
  • org.projectatomic.rpmostree1.finalize-deployment: used 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.

References

  • github.com/advisories/GHSA-w6fv-6gcc-x825
  • github.com/coreos/zincati
  • github.com/coreos/zincati/commit/01d8e89f799e6ba21bdf7dc668abce23bd0d8f78
  • github.com/coreos/zincati/commit/28a43aa2c1edda091ba659677d73c13e6e3ea99d
  • github.com/coreos/zincati/releases/tag/v0.0.24
  • github.com/coreos/zincati/releases/tag/v0.0.30
  • github.com/coreos/zincati/security/advisories/GHSA-w6fv-6gcc-x825
  • nvd.nist.gov/vuln/detail/CVE-2025-27512

Code Behaviors & Features

Detect and mitigate CVE-2025-27512 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.24 before 0.0.30

Fixed versions

  • 0.0.30

Solution

Upgrade to version 0.0.30 or above.

Weakness

  • CWE-783: Operator Precedence Logic Error
  • CWE-863: Incorrect Authorization

Source file

cargo/zincati/CVE-2025-27512.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:36 +0000.