Description
ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.
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 14 | python-pyftpdlib | 0.5.2-1 | — |
| Debian 13 | python-pyftpdlib | 0.5.2-1 | — |
| Debian 12 | python-pyftpdlib | 0.5.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pyftpdlib | < 0.5.2 | 0.5.2 | GHSA-h4g7-8m7r-87r9 |