CVE-2021-23682
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.12%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.12% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- appwrite/appwrite · litespeed.js project/litespeed.js
- Source
- report@snyk.io
References
- https://github.com/appwrite/appwrite/pull/2778Patch, Third Party Advisory
- https://github.com/appwrite/appwrite/releases/tag/0.11.1Release Notes, Third Party Advisory
- https://github.com/appwrite/appwrite/releases/tag/0.12.2Release Notes, Third Party Advisory
- https://github.com/litespeed-js/litespeed.js/pull/18Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820Exploit, Third Party Advisory
- https://github.com/appwrite/appwrite/pull/2778Patch, Third Party Advisory
- https://github.com/appwrite/appwrite/releases/tag/0.11.1Release Notes, Third Party Advisory
- https://github.com/appwrite/appwrite/releases/tag/0.12.2Release Notes, Third Party Advisory
- https://github.com/litespeed-js/litespeed.js/pull/18Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.