Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| autovance | ftp-srv | >= 1.0.0, < 2.19.6, >= 3.0.0, < 3.1.2, >= 4.0.0, < 4.3.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ftp-srv | >= 1.0.0, < 2.19.6 | 2.19.6 | GHSA-jw37-5gqr-cf9j |
| npm | ftp-srv | >= 3.0.0, < 3.1.2 | 3.1.2 | GHSA-jw37-5gqr-cf9j |
| npm | ftp-srv | >= 4.0.0, < 4.3.4 | 4.3.4 | GHSA-jw37-5gqr-cf9j |