CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExplain CVE-2012-5644 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-5644?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-5644?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-5644 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libuser_project:libuser | before 0.59 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| fedoraproject:fedora | 18 |
| redhat:enterprise_linux | 5.0 |
| redhat:enterprise_linux | 6.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | libuser | 1:0.60~dfsg-1 | DEBIAN-CVE-2012-5644 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 and 1 more | libuser | no fix listed | UBUNTU-CVE-2012-5644 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Low.
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/.
There are several restrictions to successful exploitation of this flaw:
~~~
1. ONLY applications compiled with libuser are affected. The affected code is hit only when a move operation is conducted on user home directory.
2. The attacker needs to have a shell account on the target machine.
3. Since this is a TOCTOU attack, precise timing is required for the attack. The attacker needs to know exactly when the move directory is moved in order successfully exploit this flaw.
~~~
Any other application acting on user directories (not compiled with libuser) for example usermod/userdel are not affected by this flaw.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | libuser | Will not fix | |
| Red Hat Enterprise Linux 6 | libuser | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-5644.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).