Advisory

GHSA-hrpp-h998-j3pp

Also known as: CVE-2022-24999

Summary

qs vulnerable to Prototype Pollution

Details

qs before 6.10.3 allows attackers to cause a Node process hang because an __ proto__ key can be used. In many typical web framework use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b&a[__proto__]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-11-27 00:30 UTC
Modified
2025-04-29 15:41 UTC

Affected packages and fixes

qs

npm · All systems

Affected

  • introduced 6.10.0, fixed 6.10.3 (semver)

Fixed versions

6.10.3

Fix

qs

npm · All systems

Affected

  • introduced 6.9.0, fixed 6.9.7 (semver)

Fixed versions

6.9.7

Fix

qs

npm · All systems

Affected

  • introduced 6.8.0, fixed 6.8.3 (semver)

Fixed versions

6.8.3

Fix

qs

npm · All systems

Affected

  • introduced 6.7.0, fixed 6.7.3 (semver)

Fixed versions

6.7.3

Fix

qs

npm · All systems

Affected

  • introduced 6.6.0, fixed 6.6.1 (semver)

Fixed versions

6.6.1

Fix

qs

npm · All systems

Affected

  • introduced 6.5.0, fixed 6.5.3 (semver)

Fixed versions

6.5.3

Fix

qs

npm · All systems

Affected

  • introduced 6.4.0, fixed 6.4.1 (semver)

Fixed versions

6.4.1

Fix

qs

npm · All systems

Affected

  • introduced 6.3.0, fixed 6.3.3 (semver)

Fixed versions

6.3.3

Fix

qs

npm · All systems

Affected

  • introduced 0, fixed 6.2.4 (semver)

Fixed versions

6.2.4

Fix

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