CVE-2025-3931: Github.com/redhatinsights/yggdrasil Yggdrasil Vulnerable To Local Privilege Vulnerability
HIGHCVE-2025-3931 is a HIGH (CVSS 7.8) yggdrasil vulnerable to local privilege vulnerability (CWE-280: Improper Handling of Insufficient Permissions or Privileges) affecting Github.com/redhatinsights/yggdrasil libraries in the Go ecosystem. The issue involves yggdrasil vulnerable to local privilege escalation. Remediation is available in the latest vendor maintenance releases.
CVE-2025-3931 at a Glance
Security Impact
CVSS: 7.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-3931
To remediate this vulnerability, upgrade all affected Github.com/redhatinsights/yggdrasil dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/redhatinsights/yggdrasil to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/redhatinsights/yggdrasil
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-3931, inspect your project dependencies for Github.com/redhatinsights/yggdrasil:
inspect dependencies for github.com/redhatinsights/yggdrasil
Analyze the terminal output to locate any version of Github.com/redhatinsights/yggdrasil in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-280: Improper Handling of Insufficient Permissions or Privileges, where the product does not handle or incorrectly handles when it has insufficient privileges to access resources or functionality as specified by their permissions. this may cause it to follow unexpected code paths that may leave the product in an invalid state. In Github.com/redhatinsights/yggdrasil, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3931 Affected Github.com/redhatinsights/yggdrasil Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/redhatinsights/yggdrasil
|
Go |
≤ 0.4.6
|
|
References
Frequently Asked Questions
What is CVE-2025-3931?
Which Github.com/redhatinsights/yggdrasil versions are affected?
What version fixes CVE-2025-3931?
Is github.com/redhatinsights/yggdrasil affected?
What is the CVSS score of CVE-2025-3931?
What CWE is associated with CVE-2025-3931?
How can I check Go dependencies for CVE-2025-3931?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rpg2-jvhp-h354",
"modified" : "2025-07-28T13:04:18Z",
"published" : "2025-05-14T12:31:12Z",
"aliases" : [ "CVE-2025-3931" ],
"summary" : "Yggdrasil Vulnerable to Local Privilege Escalation",
"details" : "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. \n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/redhatinsights/yggdrasil"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.4.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3931"
}, {
"type" : "WEB",
"url" : "https://github.com/RedHatInsights/yggdrasil/pull/336"
}, {
"type" : "WEB",
"url" : "https://github.com/RedHatInsights/yggdrasil/commit/196d0cbea42f72e6dfecaa563681a99e9fdb4a38"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:7592"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2025-3931"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2362345"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/RedHatInsights/yggdrasil"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-280" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-15T16:06:17Z",
"nvd_published_at" : "2025-05-14T12:15:19Z"
}
}