CVE-2020-26299
CVSS V2 Medium 5.5
CVSS V3 Critical 9.6
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).
Overview
- CVE ID
- CVE-2020-26299
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-10T18:15:12
- Last Modified Date
- 2021-02-19T17:27:57
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ftp-srv_project:ftp-srv:*:*:*:*:*:node.js:*:* | 1 | OR | 4.4.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 9.6
- Base Severity
- CRITICAL
- Exploitability Score
- 3.1
- Impact Score
- 5.8
References
Reference URL | Reference Tags |
---|---|
https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 | Exploit Third Party Advisory |
https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 | Patch Third Party Advisory |
https://www.npmjs.com/package/ftp-srv | Product Third Party Advisory |
https://github.com/autovance/ftp-srv/issues/167 | Exploit Patch Third Party Advisory |
https://github.com/autovance/ftp-srv/issues/225 | Exploit Third Party Advisory |
https://github.com/autovance/ftp-srv/pull/224 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26299 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26299 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:22:31 | Added to TrackCVE | |||
2022-12-05 21:50:19 | 2021-02-10T18:15Z | 2021-02-10T18:15:12 | CVE Published Date | updated |
2022-12-05 21:50:19 | 2021-02-19T17:27:57 | CVE Modified Date | updated | |
2022-12-05 21:50:19 | Analyzed | Vulnerability Status | updated |