Execution with Unnecessary Privileges Affecting libblockdev package, versions <3.3.0-2.1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th 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-DEBIANUNSTABLE-LIBBLOCKDEV-10378949
  • published18 Jun 2025
  • disclosed19 Jun 2025

Introduced: 18 Jun 2025

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

How to fix?

Upgrade Debian:unstable libblockdev to version 3.3.0-2.1 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 Debian. See How to fix? for Debian:unstable 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