Advisory

GHSA-v9p9-535w-4285

Also known as: CVE-2021-23682

Summary

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

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 Basis: The source's own band: CRITICAL

Dates

Published
2022-02-17 00:00 UTC
Modified
2025-01-14 09:12 UTC

Affected packages and fixes

litespeed.js

npm · All systems

Affected

  • introduced 0, fixed 0.3.12 (semver)

Fixed versions

0.3.12

Fix

appwrite/server-ce

Packagist · All systems

Affected

  • introduced 0.12.0, fixed 0.12.2 (ecosystem)

Fixed versions

0.12.2

Fix

The export has no generic command for this ecosystem.

appwrite/server-ce

Packagist · All systems

Affected

  • introduced 0, fixed 0.11.1 (ecosystem)

Fixed versions

0.11.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences