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.
Remediation
References
https://github.com/autovance/ftp-srv/commit/e449e75219d918c400dec65b4b0759f60476abca
https://github.com/autovance/ftp-srv/security/advisories/GHSA-jw37-5gqr-cf9j
https://www.npmjs.com/package/ftp-srv
Related Vulnerabilities
CVE-2016-6794 Vulnerability in maven package org.apache.tomcat:tomcat-util-scan
CVE-2019-17563 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2020-2292 Vulnerability in maven package org.jenkins-ci.plugins:release
CVE-2020-5421 Vulnerability in maven package org.springframework:spring-web
CVE-2020-13935 Vulnerability in maven package org.apache.tomcat:tomcat-coyote