CVE-2021-23682 Prototype Pollution

High 7.3 Published Updated

Prototype pollution in query string parsing allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-23682?

CVE-2021-23682 is a high-severity vulnerability in appwrite/server-ce, published on 16 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-1321

Which versions are affected by CVE-2021-23682?

6 open source packages ship an affected version, including appwrite/server-ce and litespeed.js. It affects 2 products.

PackageAffectedFixed in
appwrite/server-ce PackagistAll versions0.11.1
appwrite/server-ce PackagistAll versions0.11.1
appwrite/server-ce PackagistFrom 0.12.00.12.2
appwrite/server-ce PackagistFrom 0.12.00.12.2
litespeed.js npmAll versions0.3.12
litespeed.js npmAll versions0.3.12

Products include Appwrite Appwrite, Litespeed.js Project Litespeed.js.

How do I fix CVE-2021-23682?

Upgrade appwrite/server-ce to a fixed version for your release line: 0.11.1 or 0.12.2.

Is CVE-2021-23682 being exploited?

There is no known exploitation of CVE-2021-23682 in the wild and no public exploit code.

Sources

Also known as GHSA-v9p9-535w-4285.

Is CVE-2021-23682 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free