ghsa-mpgj-hch9-5rvx
Vulnerability from github
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.
{
"affected": [],
"aliases": [
"CVE-2025-6019"
],
"database_specific": {
"cwe_ids": [
"CWE-250"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-06-19T12:15:19Z",
"severity": "HIGH"
},
"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.",
"id": "GHSA-mpgj-hch9-5rvx",
"modified": "2025-07-10T15:31:10Z",
"published": "2025-06-19T12:30:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6019"
},
{
"type": "WEB",
"url": "https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros"
},
{
"type": "WEB",
"url": "https://news.ycombinator.com/item?id=44325861"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html"
},
{
"type": "WEB",
"url": "https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370051"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2025-6019"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9878"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9328"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9327"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9326"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9325"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9324"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9323"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9322"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9321"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9320"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10796"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/17/5"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/17/6"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/18/1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.