browserless/chrome · Security
Path Traversal in browserless-chrome
- GHSA ID
- GHSA-8p9r-f949-699g
- CVE ID
- CVE-2020-7758
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
This affects all versions of browserless-chrome before 1.43.0. 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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7758 ↗
- https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6 ↗
- https://github.com/browserless/chrome/blob/master/src/routes.ts%23L175 ↗
- https://github.com/browserless/chrome/releases/tag/1.40.2-chrome-stable ↗
- https://snyk.io/vuln/SNYK-JS-BROWSERLESSCHROME-1023657 ↗
- https://www.npmjs.com/package/browserless-chrome ↗
- https://github.com/advisories/GHSA-8p9r-f949-699g ↗