GitHub Advisoryadvisory · npm
GHSA-8p9r-f949-699g Path Traversal in browserless-chrome
HIGH
Official page ↗
- Aliases
- CVE-2020-7758
- Ecosystem
- npm
- Packages
- browserless-chrome
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2021-04-20
Affected packages
• npm browserless-chrome: < 1.43.0 → fixed in 1.43.0
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.
Related
Alias · CVE (1)
- CVE-2020-7758 This affects versions of package browserless-chrome before 1.40.2-chrome-stable. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7758 advisory
- https://github.com/browserless/chrome/commit/848b87e5bea4f8473eea85261a5ff922d6ebd2b6 web
- https://github.com/browserless/chrome package
- https://github.com/browserless/chrome/blob/master/src/routes.ts%23L175 web
- https://github.com/browserless/chrome/releases/tag/1.40.2-chrome-stable web
- https://snyk.io/vuln/SNYK-JS-BROWSERLESSCHROME-1023657 web
- https://www.npmjs.com/package/browserless-chrome web