CVE-2020-15152Ftp-srv Project Ftp-srv
Critical 9.1 No auth needed
Follow: this CVE · Ftp-srv Project · Ftp-srv Project Ftp-srv We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Aug 17, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
ftp-srv is an npm package which is a modern and extensible FTP server designed to be simple yet configurable. In ftp-srv before versions 2.19.6, 3.1.2, and 4.3.4 are vulnerable to Server-Side Request Forgery. The PORT command allows arbitrary IPs which can be used to cause the server to make a connection elsewhere. A possible workaround is blocking the PORT through the configuration. This issue is fixed in version2 2.19.6, 3.1.2, and 4.3.4. More information can be found on the linked advisory.
What to do
- Apply the vendor's security update for Ftp-srv.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | ftp-srv |
≥ 1.0.0 < 2.19.6 |
2.19.6 |
npm install ftp-srv@2.19.6 |
| npm | ftp-srv |
≥ 3.0.0 < 3.1.2 |
3.1.2 |
npm install ftp-srv@3.1.2 |
| npm | ftp-srv |
≥ 4.0.0 < 4.3.4 |
4.3.4 |
npm install ftp-srv@4.3.4 |
Per OSV / GitHub Advisories (GHSA-jw37-5gqr-cf9j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ftp-srv_project | ftp-srv | < 2.19.6 |
| ftp-srv_project | ftp-srv | ≥ 3.0.0 < 3.1.2 |
| ftp-srv_project | ftp-srv | ≥ 4.0.0 < 4.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Mitigation Patch Third Party Advisory
- www.npmjs.com Product Third Party Advisory