Advisory

DEBIAN-CVE-2025-6019

Also known as: CVE-2025-6019

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-06-19 12:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

libblockdev

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.28-2+deb12u1 (ecosystem)

Fixed versions

2.28-2+deb12u1

Fix

  • Fixed version 2.28-2+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libblockdev

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.3.0-2.1 (ecosystem)

Fixed versions

3.3.0-2.1

Fix

  • Fixed version 3.3.0-2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libblockdev

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.3.0-2.1 (ecosystem)

Fixed versions

3.3.0-2.1

Fix

  • Fixed version 3.3.0-2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences