Description
Race condition in the create_lockpath function in policyd-weight 0.1.14 beta-16 allows local users to modify or delete arbitrary files by creating the LOCKPATH directory, then modifying it after the symbolic link check occurs. NOTE: this is due to an incomplete fix for CVE-2008-1569.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | policyd-weight | 0.1.14.17-1 | — |
| Debian 12 | policyd-weight | 0.1.14.17-1 | — |
| Debian 4.0 | policyd-weight | 0.1.14-beta-6etch2 | DSA-1531-2 |
Advisories 1
- DSA-1531-2 policyd-weight - insecure temporary files Debian Security (DSA / DLA) · Mar 9, 2026
References
- policydweight-createlockpath-race-condition(41570) vdb-entry
- 29738 third-party-advisory
- GLSA-200804-11 vendor-advisory
- 43888 vdb-entry
- https://bugs.gentoo.org/show_bug.cgi?id=214403