# CVE-2007-6736: Directory Traversal in pyftpdlib

Source: https://junglewise.ai/threats/cve-2007-6736-directory-traversal-in-pyftpdlib  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2010-10-19  
License: CC BY 4.0 with a link back

CVE-2007-6736 · Severity: low · CVSS 3.1 · Published 2010-10-19

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.

Technologies: [pyftpdlib (PyPI)](https://junglewise.ai/threats/technologies/pyftpdlib). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2007-6736 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2007-6736 being exploited in the wild.

**How severe is CVE-2007-6736?** Low severity, with a CVSS score of 3.1, published 19 October 2010.

**Which products and versions are affected?** pyftpdlib (PyPI) ECOSYSTEM:introduced=0,fixed=0.2.0.

**Is there a fix for CVE-2007-6736?** Yes. pyftpdlib (PyPI): upgrade to 0.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2007-6736?** Check whether you run pyftpdlib (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pyftpdlib (PyPI): upgrade to 0.2.0 or later

  ```sh
  pip install "pyftpdlib>=0.2.0"
  ```


## Affected products

- pyftpdlib (PyPI) ECOSYSTEM:introduced=0,fixed=0.2.0

## Identifiers

- CVE-2007-6736
- GHSA-f8wg-36r9-7f4q
- PYSEC-2010-20

## Related threats

- [pyftpdlib Use of Insufficiently Random Values of port selection on PASV command](https://junglewise.ai/threats/cve-2007-6738-pyftpdlib-use-of-insufficiently-random-values-of-port-selection-on)
- [Improper Authentication in pyftpdlib](https://junglewise.ai/threats/cve-2007-6737-improper-authentication-in-pyftpdlib)
- [Directory traversal in pyftpdlib](https://junglewise.ai/threats/cve-2008-7262-directory-traversal-in-pyftpdlib)
- [PYSEC-2010-23 - FTPServer.py in pyftpdlib before 0.2.0 allows remote attackers to cause a denial of service via a long command.](https://junglewise.ai/threats/cve-2007-6739-improper-input-validation-in-pyftpdlib)
- [Improper privilege management in pyftpdlib](https://junglewise.ai/threats/cve-2007-6741-improper-privilege-management-in-pyftpdlib)
