Vulnerability Details : CVE-2020-7758
This affects versions of package browserless-chrome before 1.40.2-chrome-stable. User input flowing from the workspace endpoint gets used to create a file path filePath and this is fetched and then sent back to a user. This can be escaped to fetch arbitrary files from a server.
Vulnerability category: Directory traversal
Products affected by CVE-2020-7758
- cpe:2.3:a:browserless:chrome:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7758
0.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7758
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2020-7758
-
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-7758
-
https://github.com/browserless/chrome/releases/tag/1.40.2-chrome-stable
Release 1.40.2-chrome-stable · browserless/chrome · GitHubRelease Notes;Third Party Advisory
-
https://github.com/browserless/chrome/blob/master/src/routes.ts%23L175
Page not found · GitHub · GitHubBroken Link
-
https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6
Ensure workspace files are _in_ the workspace DIR · browserless/chrome@848b87e · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-BROWSERLESSCHROME-1023657
Path Traversal in browserless-chrome | SnykExploit;Third Party Advisory
Jump to