Loading...
Skip to main content

CVE-2021-23682 — Prototype Pollution in litespeed.js — CVE Details

CRITICAL

Prototype Pollution in litespeed.js and appwrite/server-ce

Published February 17, 2022Updated January 14, 2025Source: osv

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. 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.

Advisory Timeline

  • First published February 17, 2022 (1699 days ago).
  • Last revised January 14, 2025 — 1062 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update litespeed.js to 0.3.12 or later
npm install litespeed.js@0.3.12
Composer
Update appwrite/server-ce to 0.11.1 or later
composer require "appwrite/server-ce:^0.11.1"
Composer
Update appwrite/server-ce to 0.12.2 or later
composer require "appwrite/server-ce:^0.12.2"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 2 ecosystems: npm (1), packagist (1).

PackageEcosystemAffectedFixed In
litespeed.js
npm
All versions0.3.12
appwrite/server-ce
packagist
0.1.13, 0.1.15, 0.10.0, 0.10.1 (+23 more)0.11.1
appwrite/server-ce
packagist
0.12.0, 0.12.10.12.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2021-23682?
Prototype Pollution in litespeed.js and appwrite/server-ce This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2021-23682?
CVE-2021-23682 affects litespeed.js and appwrite/server-ce. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-23682 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-v9p9-535w-4285

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies