Execution with Unnecessary Privileges Affecting libblockdev package, versions <2.23-2ubuntu3+esm1


Severity

Recommended
0.0
high
0
10

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (3rd 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-UBUNTU2004-LIBBLOCKDEV-10389883
  • 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:20.04 libblockdev to version 2.23-2ubuntu3+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libblockdev package and not the libblockdev package as distributed by Ubuntu. See How to fix? for Ubuntu:20.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