Vulnerability Details : CVE-2020-15779
Potential exploit
A Path Traversal issue was discovered in the socket.io-file package through 2.0.31 for Node.js. The socket.io-file::createFile message uses path.join with ../ in the name option, and the uploadDir and rename options determine the path.
Vulnerability category: Directory traversal
Products affected by CVE-2020-15779
- cpe:2.3:a:socket.io-file_project:socket.io-file:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-15779
0.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-15779
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2020-15779
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-15779
-
https://www.npmjs.com/advisories/1519
npmExploit;Third Party Advisory
-
https://github.com/advisories/GHSA-9h4g-27m8-qjrg
Path Traversal in socket.io-file · GHSA-9h4g-27m8-qjrg · GitHub Advisory Database · GitHubThird Party Advisory
-
https://www.npmjs.com/package/socket.io-file
socket.io-file - npmProduct;Third Party Advisory
-
https://github.com/rico345100/socket.io-file
GitHub - rico345100/socket.io-file: Socket.io-file is a node module for uploading file via Socket.io moduleThird Party Advisory
Jump to