{"answers":{"affected":"3 open source packages ship an affected version, including github.com/redhatinsights/yggdrasil.","exploited":"There is no known exploitation of CVE-2025-3931 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-3931 is a high-severity missing authorization vulnerability in Red Hat Enterprise Linux 10, published on 14 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3931 and fix it if it is affected.\n\nWhat it is: CVE-2025-3931 is a high-severity missing authorization vulnerability in Red Hat Enterprise Linux 10, published on 14 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-3931 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/redhatinsights/yggdrasil (Go): affected all versions; no fix listed\n- github.com/redhatinsights/yggdrasil (Go): affected all versions up to 0.4.6; no fix listed\n- github.com/redhatinsights/yggdrasil (Go): affected all versions up to 0.4.6; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-3931/ (Markdown: https://insights.sbomify.com/CVE-2025-3931/index.md)","id":"CVE-2025-3931","markdown":"https://insights.sbomify.com/CVE-2025-3931/index.md","name":"CVE-2025-3931","record":{"aliases":["GHSA-rpg2-jvhp-h354","GO-2025-3688"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Red Hat Enterprise Linux","requires_auth":"low_privilege","summary":"Local attackers can exploit missing authentication in Yggdrasil DBus methods to install arbitrary RPM packages, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-280","name":"Improper Handling of Insufficient Permissions or Privileges"}],"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. \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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Yggdrasil: local privilege escalation in yggdrasil","id":"CVE-2025-3931","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":3,"n_references":4,"next":{"headline":"Tracking Links in Attachments Bypassed Remote Content Blocking","id":"CVE-2025-3932"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/redhatinsights/yggdrasil","purl":"pkg:golang/github.com/redhatinsights/yggdrasil","source":"GO-2025-3688"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.4.6"],"package":"github.com/redhatinsights/yggdrasil","purl":null,"source":"GHSA-rpg2-jvhp-h354"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.4.6"],"package":"github.com/redhatinsights/yggdrasil","purl":"pkg:golang/github.com/redhatinsights/yggdrasil","source":"GHSA-rpg2-jvhp-h354"}],"prev":{"headline":"Lack of JWT Expiration after Log Out in Strapi","id":"CVE-2025-3930"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Satellite 6"],"published":"2025-05-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-11","vendors":["Red Hat"]},"summary":"Local attackers can exploit missing authentication in Yggdrasil DBus methods to install arbitrary RPM packages, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-3931/"}