Affected versions
Composerappwrite/server-ce
- Affected versions
- < 0.11.1
- Fixed version
- 0.11.1
Composerappwrite/server-ce
- Affected versions
- >= 0.12.0, < 0.12.2
- Fixed version
- 0.12.2
npmlitespeed.js
- Affected versions
- < 0.3.12
- Fixed version
- 0.3.12
Exploitation
Description
This affects the package litespeed.js before 0.3.12; the package appwrite/server-ce from 0.12.0 and before 0.12.2, before 0.11.1. When parsing the query string in the getJsonFromUrl function, the key that is set in the result object is not properly sanitized leading to a Prototype Pollution vulnerability.
Links
- https://github.com/advisories/GHSA-v9p9-535w-4285
- https://github.com/appwrite/appwrite/pull/2778
- https://github.com/appwrite/appwrite/releases/tag/0.11.1
- https://github.com/appwrite/appwrite/releases/tag/0.12.2
- https://github.com/litespeed-js/litespeed.js/pull/18
- https://nvd.nist.gov/vuln/detail/CVE-2021-23682
- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820

