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.
History

Sat, 21 Jun 2025 23:15:00 +0000

Type Values Removed Values Added
References

Fri, 20 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 19 Jun 2025 12:30:00 +0000


Thu, 19 Jun 2025 12:00:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title libblockdev: LPE from allow_active to root in libblockdev via udisks Libblockdev: lpe from allow_active to root in libblockdev via udisks
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References

Wed, 18 Jun 2025 15:00:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE.
Title libblockdev: LPE from allow_active to root in libblockdev via udisks
Weaknesses CWE-250
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2025-06-19T11:55:57.380Z

Updated: 2025-06-21T22:58:36.379Z

Reserved: 2025-06-11T22:14:52.625Z

Link: CVE-2025-6019

cve-icon Vulnrichment

Updated: 2025-06-19T12:07:16.097Z

cve-icon NVD

Status : Received

Published: 2025-06-19T12:15:19.727

Modified: 2025-06-21T23:15:24.433

Link: CVE-2025-6019

cve-icon Redhat

Severity : Important

Publid Date: 2025-06-17T00:00:00Z

Links: CVE-2025-6019 - Bugzilla