Vulnerability · Published Aug 17, 2020 · Assigned by GitHub_M
CVE-2020-15152Server-Side Request Forgery in ftp-srv
Critical 9.1
In plain English
A critical-severity server-side request forgery in ftp-srv from autovance. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ftp-srv | 2.19.6 | GHSA-jw37-5gqr-cf9j |
| npm | ftp-srv | 3.1.2 | GHSA-jw37-5gqr-cf9j |
| npm | ftp-srv | 4.3.4 | GHSA-jw37-5gqr-cf9j |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/autovance/ftp-srv/security/advisories/GHSA-jw37-5gqr-cf9j x_refsource_CONFIRM
- https://github.com/autovance/ftp-srv/commit/e449e75219d918c400dec65b4b0759f60476abca x_refsource_MISC
- https://www.npmjs.com/package/ftp-srv x_refsource_MISC