VDB
Sign up
MEDIUM6.5

PYSEC-2010-20

Quick fix

PYSEC-2010-20 — pyftpdlib: upgrade to the fixed version with the command below.

pip install --upgrade 'pyftpdlib>=0.2.0'

Details

Multiple directory traversal vulnerabilities in FTPServer.py in pyftpdlib before 0.2.0 allow remote authenticated users to access arbitrary files and directories via a .. (dot dot) in a (1) LIST, (2) STOR, or (3) RETR command.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pyftpdlib
Introduced in: 0Fixed in: 0.2.0
Fixpip install --upgrade 'pyftpdlib>=0.2.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/pyftpdlib"]}'