HIGH7.5
GHSA-8p9r-f949-699g
Path Traversal in browserless-chrome
Quick fix
GHSA-8p9r-f949-699g — browserless-chrome: upgrade to the fixed version with the command below.
npm install browserless-chrome@1.43.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]