Execution with Unnecessary Privileges Affecting udisks2 package, versions <2.10.1-6ubuntu1.2


Severity

Recommended
0.0
high
0
10

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-UDISKS2-10389876
  • published19 Jun 2025
  • disclosed19 Jun 2025

Introduced: 19 Jun 2025

NewCVE-2025-6019  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 udisks2 to version 2.10.1-6ubuntu1.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream udisks2 package and not the udisks2 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.

CVSS Base Scores

version 3.1