CVE-2012-5630
published 2019-11-25CVE-2012-5630: libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
PriorityP426medium6.3CVSS 3.1
AVLACHPRLUINSUCNIHAH
EPSS
0.28%
19.9th percentile
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libuser | < libuser 1:0.60~dfsg-1 (bookworm) | libuser 1:0.60~dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| libuser | libuser | — | — |
| libuser | libuser | — | — |
| libuser | libuser | >= 0 < 1:0.60~dfsg-1 | 1:0.60~dfsg-1 |
| libuser | libuser | >= 0 < 1:0.60~dfsg-1 | 1:0.60~dfsg-1 |
| libuser | libuser | >= 0 < 1:0.60~dfsg-1 | 1:0.60~dfsg-1 |
| libuser | libuser | >= 0 < 1:0.60~dfsg-1 | 1:0.60~dfsg-1 |
| libuser_project | libuser | — | — |
| libuser_project | libuser | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.16.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
nvdv2.03.3LOWAV:L/AC:M/Au:N/C:N/I:P/A:P
osv6.3MEDIUM
vendor_debian6.3LOW
vendor_redhat6.3MEDIUM
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.
GHSA
GHSA-4674-qwpx-v98w: libuser 0
ghsa_unreviewed·2022-04-23
CVE-2012-5630 [MEDIUM] CWE-367 GHSA-4674-qwpx-v98w: libuser 0
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
OSV
CVE-2012-5630: libuser 0
osv·2019-11-25·CVSS 6.3
CVE-2012-5630 [MEDIUM] CVE-2012-5630: libuser 0
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Red Hat
libuser: TOCTOU race conditions by copying and removing directory trees
vendor_redhat·2013-03-28·CVSS 6.3
CVE-2012-5630 [MEDIUM] CWE-367 libuser: TOCTOU race conditions by copying and removing directory trees
libuser: TOCTOU race conditions by copying and removing directory trees
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Statement: Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: libuser (Red Hat Enterprise Linux 5) - Will not fix
Package: libuser (Red Hat Enterprise Linux 6) - Will not fix
Debian
CVE-2012-5630: libuser - libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition wh...
vendor_debian·2012·CVSS 6.3
CVE-2012-5630 [MEDIUM] CVE-2012-5630: libuser - libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition wh...
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
Scope: local
bookworm: resolved (fixed in 1:0.60~dfsg-1)
bullseye: resolved (fixed in 1:0.60~dfsg-1)
forky: resolved (fixed in 1:0.60~dfsg-1)
sid: resolved (fixed in 1:0.60~dfsg-1)
trixie: resolved (fixed in 1:0.60~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2012-5630 CVE-2012-5644 libuser various flaws [fedora-all]
bugzilla·2013-03-28·CVSS 6.3
CVE-2012-5630 [MEDIUM] CVE-2012-5630 CVE-2012-5644 libuser various flaws [fedora-all]
CVE-2012-5630 CVE-2012-5644 libuser 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 affects multiple s
Bugzilla
CVE-2012-5644 libuser: (Complete) Information disclosure when moving user's home directory
bugzilla·2012-12-10·CVSS 6.3
CVE-2012-5644 [MEDIUM] CVE-2012-5644 libuser: (Complete) Information disclosure when moving user's home directory
CVE-2012-5644 libuser: (Complete) Information disclosure when moving user's home directory
An information disclosure flaw was found in the way libuser, an user and group account administration library, performed movement of user's home directory. Previously, during the move the ownership of all the (sub)entries present in directory tree, to be moved, were changed from privileged user account to the effective user id of the user, the home directory should belong to. A local attacker could use this flaw to conduct hardlink attacks and possibly obtain unauthorized access to arbitrary system file.
This issue was found by Miloslav Trmač of Red Hat.
Discussion:
This issue affects the versions of the libuser package, as shipped with Red Hat Enterprise Linux 5 and 6.
--
This issue affects th
Bugzilla
CVE-2012-5630 libuser: TOCTOU race conditions by copying and removing directory trees
bugzilla·2012-12-06·CVSS 6.3
CVE-2012-5630 [MEDIUM] CVE-2012-5630 libuser: TOCTOU race conditions by copying and removing directory trees
CVE-2012-5630 libuser: TOCTOU race conditions by copying and removing directory trees
A TOCTOU (time-of-check time-of-use) race condition was found in the way libuser, a user and group account administration library, performed copying and removal of (user) directory trees. A local attacker, with permissions to write into particular directory, could use this flaw to conduct symbolic link attacks, leading to their ability to alter / remove directories outside of this directory (tree), if this directory was simultaneously modified (copied or removed) via libuser functionality.
This issue was found by Florian Weimer of Red Hat Product Security Team.
Discussion:
This issue affects the versions of the libuser package, as shipped with Red Hat Enterprise Linux 5 and 6.
--
This issue affects
http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102068.htmlhttps://access.redhat.com/security/cve/cve-2012-5630https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630https://security-tracker.debian.org/tracker/CVE-2012-5630https://www.securityfocus.com/bid/59285http://lists.fedoraproject.org/pipermail/package-announce/2013-April/102068.htmlhttps://access.redhat.com/security/cve/cve-2012-5630https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5630https://security-tracker.debian.org/tracker/CVE-2012-5630https://www.securityfocus.com/bid/59285
2019-11-25
Published