CVE-2013-4291
published 2013-09-30CVE-2013-4291: The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group…
PriorityP423medium6.9CVSS 2.0
AVLACMAuNCCICAC
EPSS
0.49%
38.8th percentile
The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group memberships, which allows local users to gain privileges.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libvirt | < libvirt 1.1.2-2 (bookworm) | libvirt 1.1.2-2 (bookworm) |
| redhat | libvirt | — | — |
| redhat | libvirt | — | — |
| redhat | libvirt | — | — |
| redhat | libvirt | >= 0 < 1.1.2-2 | 1.1.2-2 |
| redhat | libvirt | >= 0 < 1.1.2-2 | 1.1.2-2 |
| redhat | libvirt | >= 0 < 1.1.2-2 | 1.1.2-2 |
| redhat | libvirt | >= 0 < 1.1.2-2 | 1.1.2-2 |
CVSS provenance
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv6.9MEDIUM
vendor_debian6.9MEDIUM
vendor_redhat6.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
libvirt: supplementary groups not adjusted correctly when parsing label
vendor_redhat·2013-08-29·CVSS 6.9
CVE-2013-4291 [MEDIUM] libvirt: supplementary groups not adjusted correctly when parsing label
libvirt: supplementary groups not adjusted correctly when parsing label
The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group memberships, which allows local users to gain privileges.
Statement: Not vulnerable.
This issue did not affect the versions of libvirt package as shipped with Red Hat Enterprise Linux 5 and 6.
Package: libvirt (Red Hat Enterprise Linux 5) - Not affected
Package: libvirt (Red Hat Enterprise Linux 6) - Not affected
Package: libvirt (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2013-4291: libvirt - The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and...
vendor_debian·2013·CVSS 6.9
CVE-2013-4291 [MEDIUM] CVE-2013-4291: libvirt - The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and...
The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group memberships, which allows local users to gain privileges.
Scope: local
bookworm: resolved (fixed in 1.1.2-2)
bullseye: resolved (fixed in 1.1.2-2)
forky: resolved (fixed in 1.1.2-2)
sid: resolved (fixed in 1.1.2-2)
trixie: resolved (fixed in 1.1.2-2)
GHSA
GHSA-293r-4r95-pff2: The virSecurityManagerSetProcessLabel function in libvirt 0
ghsa_unreviewed·2022-05-17
CVE-2013-4291 [MEDIUM] GHSA-293r-4r95-pff2: The virSecurityManagerSetProcessLabel function in libvirt 0
The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group memberships, which allows local users to gain privileges.
OSV
CVE-2013-4291: The virSecurityManagerSetProcessLabel function in libvirt 0
osv·2013-09-30·CVSS 6.9
CVE-2013-4291 [MEDIUM] CVE-2013-4291: The virSecurityManagerSetProcessLabel function in libvirt 0
The virSecurityManagerSetProcessLabel function in libvirt 0.10.2.7, 1.0.5.5, and 1.1.1, when the domain has read an uid:gid label, does not properly set group memberships, which allows local users to gain privileges.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-4297 CVE-2013-4291 CVE-2013-5651 libvirt: various flaws [fedora-all]
bugzilla·2013-09-10·CVSS 6.9
CVE-2013-4297 [MEDIUM] CVE-2013-4297 CVE-2013-4291 CVE-2013-5651 libvirt: various flaws [fedora-all]
CVE-2013-4297 CVE-2013-4291 CVE-2013-5651 libvirt: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue aff
Bugzilla
CVE-2013-4291 libvirt: supplementary groups not adjusted correctly when parsing label
bugzilla·2013-09-10·CVSS 6.9
CVE-2013-4291 [MEDIUM] CVE-2013-4291 libvirt: supplementary groups not adjusted correctly when parsing label
CVE-2013-4291 libvirt: supplementary groups not adjusted correctly when parsing label
Upstream Commit 29fe5d7 (released in 1.1.1) introduced a latent problem for any caller of virSecurityManagerSetProcessLabel and where the domain already had a uid:gid label to be parsed. Such a setup would collect the list of supplementary groups during virSecurityManagerPreFork, but then ignores that information, and thus fails to call setgroups() to adjust the supplementary groups of the process.
Introduced by:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=29fe5d745fbe207ec2415441d4807ae76be05974
Upstream fix:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=fe11d34a6d46d6641ce90dc665164fda7bb6bff8
Discussion:
Statement:
Not vulnerable.
This issue did not affect the versions of libvirt package
http://libvirt.org/git/?p=libvirt.git%3Ba=commitdiff%3Bh=fe11d34a6d46d6641ce90dc665164fda7bb6bff8http://libvirt.org/news.htmlhttp://wiki.libvirt.org/page/Maintenance_Releaseshttps://bugzilla.redhat.com/show_bug.cgi?id=1006509http://libvirt.org/git/?p=libvirt.git%3Ba=commitdiff%3Bh=fe11d34a6d46d6641ce90dc665164fda7bb6bff8http://libvirt.org/news.htmlhttp://wiki.libvirt.org/page/Maintenance_Releaseshttps://bugzilla.redhat.com/show_bug.cgi?id=1006509
2013-09-30
Published