Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. appwrite/server-ce
  4. ›
  5. CVE-2021-23682

CVE-2021-23682: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

February 16, 2022 (updated February 24, 2022)

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.

References

  • github.com/appwrite/appwrite/pull/2778
  • github.com/appwrite/appwrite/releases/tag/0.11.1
  • github.com/appwrite/appwrite/releases/tag/0.12.2
  • github.com/litespeed-js/litespeed.js/pull/18
  • nvd.nist.gov/vuln/detail/CVE-2021-23682
  • snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250
  • snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820

Code Behaviors & Features

Detect and mitigate CVE-2021-23682 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.11.1, all versions starting from 0.12.0 before 0.12.2

Fixed versions

  • 0.11.1
  • 0.12.2

Solution

Upgrade to versions 0.11.1, 0.12.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

packagist/appwrite/server-ce/CVE-2021-23682.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.