Execution with Unnecessary Privileges Affecting libblockdev-loop package, versions <0:2.24-9.el8_6


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.48% (41st 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-RHEL8-LIBBLOCKDEVLOOP-10521743
  • published26 Jun 2025
  • disclosed17 Jun 2025

Introduced: 17 Jun 2025

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

How to fix?

Upgrade RHEL:8 libblockdev-loop to version 0:2.24-9.el8_6 or higher.
This issue was patched in RHSA-2025:9322.

NVD Description

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