You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:ftp-srv_project:ftp-srv:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.4.0
Changed
Reference Type
https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 No Types Assigned
https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/autovance/ftp-srv/issues/167 No Types Assigned
https://github.com/autovance/ftp-srv/issues/167 Exploit, Patch, Third Party Advisory
Changed
Reference Type
https://github.com/autovance/ftp-srv/issues/225 No Types Assigned
https://github.com/autovance/ftp-srv/issues/225 Exploit, Third Party Advisory
Changed
Reference Type
https://github.com/autovance/ftp-srv/pull/224 No Types Assigned
https://github.com/autovance/ftp-srv/pull/224 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 No Types Assigned
https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 Exploit, Third Party Advisory
Changed
Reference Type
https://www.npmjs.com/package/ftp-srv No Types Assigned
https://www.npmjs.com/package/ftp-srv Product, Third Party Advisory
CVE Modified by GitHub, Inc.2/10/2021 2:15:11 PM
Action
Type
Old Value
New Value
Changed
Description
ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR.
When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function.
The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).
ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).
Quick Info
CVE Dictionary Entry: CVE-2020-26299 NVD
Published Date: 02/10/2021 NVD
Last Modified: 11/21/2024
Source: GitHub, Inc.