CVE-2021-23682 · CRITICAL (CVSS 9.8)
Summary: 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.
Details
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.
Severity
CRITICAL (CVSS 9.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected packages
- npm litespeed.js [0 – 0.3.12]
- Packagist appwrite/server-ce [0.12.0 – 0.12.2]
- Packagist appwrite/server-ce [0 – 0.11.1]
- GIT github.com/appwrite/appwrite [0 – 3c399b158ae2a785869ac9dfa059b53dba651da1] [1a0f740459fde58dc41112861f47bc06d1ae5c4c – 4de45b71421756e22a9672add45580f60acb2907]
- GIT github.com/litespeed-js/litespeed.js [0 – f14bd12f0f9e6d274d451e1b717aa76399beae49]
References
- https://github.com/appwrite/appwrite/releases/tag/0.11.1
- https://github.com/appwrite/appwrite/releases/tag/0.12.2
- https://github.com/appwrite/appwrite/pull/2778
- https://github.com/litespeed-js/litespeed.js/pull/18
- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820