Vulnerability · Published May 14, 2025 · Assigned by redhat
CVE-2025-3931Yggdrasil: local privilege escalation in yggdrasil
High 7.8
In plain English
A high-severity security flaw in yggdrasil. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in Yggdrasil, which acts as a system broker, allowing the processes to communicate to other children's "worker" processes through the DBus component. Yggdrasil creates a DBus method to dispatch messages to workers. However, it misses authentication and authorization checks, allowing every system user to call it. One available Yggdrasil worker acts as a package manager with capabilities to create and enable new repositories and install or remove packages. This flaw allows an attacker with access to the system to leverage the lack of authentication on the dispatch message to force the Yggdrasil worker to install arbitrary RPM packages. This issue results in local privilege escalation, enabling the attacker to access and modify sensitive system data.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | yggdrasil | 0.4.5-3.el10_0 | ALSA-2025:7592 |
| AlmaLinux:10 | yggdrasil-devel | 0.4.5-3.el10_0 | ALSA-2025:7592 |
| Go | github.com/redhatinsights/yggdrasil | no fix listed | GHSA-rpg2-jvhp-h354 |
| Go | github.com/redhatinsights/yggdrasil | no fix listed | GO-2025-3688 |
| Rocky Linux:10 | yggdrasil | 0:0.4.5-3.el10_0 | RLSA-2025:7592 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yggdrasil | 0 – before 0.4.7 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Satellite 6 | see references |
Weakness: CWE-280 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2025:7592 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-3931 vdb-entry, x_refsource_REDHAT
- RHBZ#2362345 issue-tracking, x_refsource_REDHAT
- https://github.com/RedHatInsights/yggdrasil/pull/336