Live threats

All CVEs / Ftp-srv Project

CVE-2020-15152Ftp-srv Project Ftp-srv

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ftp-srv.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
ftp-srv_projectftp-srv< 2.19.6
ftp-srv_projectftp-srv≥ 3.0.0 < 3.1.2
ftp-srv_projectftp-srv≥ 4.0.0 < 4.3.4

Official sources

References

Links published by the sources. Open them with care.