Description
ftpd in linux-ftpd 0.17, and possibly other versions, performs a chdir before setting the UID, which allows local users to bypass intended access restrictions by redirecting their home directory to a restricted directory.
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 12 | linux-ftpd | 0.17-23 | — |
| Debian 3.1 | linux-ftpd | 0.17-20sarge2 | DSA-1217-1 |
Advisories 1
- DSA-1217-1 linux-ftpd Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454
- GLSA-200611-05 vendor-advisory
- 20060825 ftpd chdir() while root mailing-list
- 21000 vdb-entry
- 22997 third-party-advisory
- DSA-1217 vendor-advisory