MEDIUM4.0
PYSEC-2010-6
Quick fix
PYSEC-2010-6 — pyftpdlib: upgrade to the fixed version with the command below.
pip install --upgrade 'pyftpdlib>=0.5.0'Details
The ftp_QUIT function in ftpserver.py in pyftpdlib before 0.5.0 allows remote authenticated users to cause a denial of service (file descriptor exhaustion and daemon outage) by sending a QUIT command during a disallowed data-transfer attempt.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- http://code.google.com/p/pyftpdlib/source/diff?spec=svn344&r=344&format=side&path=/trunk/pyftpdlib/ftpserver.py[WEB]
- http://code.google.com/p/pyftpdlib/issues/detail?id=71[WEB]
- http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY[WEB]
- http://code.google.com/p/pyftpdlib/source/detail?r=344[WEB]
- https://github.com/advisories/GHSA-8p2c-fghc-9hj4[ADVISORY]
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"]}'