{"id":"GHSA-r4m5-47cq-6qg8","aliases":[],"url":"https://o3.security/vulnerability/GHSA-r4m5-47cq-6qg8","summary":"Server-Side Request Forgery in ftp-srv","details":"All versions of `ftp-srv` from v1.0.0 onward to v4.3.3 are vulnerable to Server-Side Request Forgery (SSRF). The package fails to prevent remote clients to access other resources in the network, for example when connecting to the server through telnet. This allows attackers to access any network resources available to the server, including private resources in the hosting environment.\n\n\n## Recommendation\n\nUpgrade to patched versions\n`^2.19.6, ^3.1.2, ^4.3.4`\n\n## Workarounds\nBlacklisting the FTP Command PORT will prevent the server from exposing this behaviour through active connections until a fix is applied.\n\n```\nconst ftp = new FtpSrv({\n  blacklist: ['PORT']\n});\n```","published":"2020-09-04T17:25:13Z","modified":"2024-01-08T21:29:30Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"ftp-srv","fixedVersion":"2.19.6"},{"ecosystem":"npm","name":"ftp-srv","fixedVersion":"3.1.2"},{"ecosystem":"npm","name":"ftp-srv","fixedVersion":"4.3.4"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/QuorumDMS/ftp-srv/security/advisories/GHSA-jw37-5gqr-cf9j"},{"type":"PACKAGE","url":"https://github.com/QuorumDMS/ftp-srv"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1445"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-01-08T21:29:30Z"}}