A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
The `basic-ftp` FTP client library for Node.js contains a path traversal vulnerability (CWE-22) in versions prior to 5.2.0 in the `downloadToDir()` method. A malicious FTP server can send directory listings with filenames containing path traversal sequences (`../`) that cause files to be written outside the intended download directory. Version 5.2.0 patches the issue.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Patrickjuchli basic-ftp
Weakness type
References
- github.com /patrickjuchli/basic-ftp/commit/2a2a0e6514357b9eda07c2f8afb…
- github.com /patrickjuchli/basic-ftp/releases/tag/v5.2.0
- github.com /patrickjuchli/basic-ftp/security/advisories/GHSA-5rq4-664w…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning