Advisory

GHSA-gqgv-6jq5-jjj9

Also known as: CVE-2017-1000048

Summary

Prototype Pollution Protection Bypass in qs

Details

Affected version of qs are vulnerable to Prototype Pollution because it is possible to bypass the protection. The qs.parse function fails to properly prevent an object's prototype to be altered when parsing arbitrary input. Input containing [ or ] may bypass the prototype pollution protection and alter the Object prototype. This allows attackers to override properties that will exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances.

Recommendation

Upgrade to 6.0.4, 6.1.2, 6.2.3, 6.3.2 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-04-30 17:16 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

qs

npm · All systems

Affected

  • introduced 0, fixed 6.0.4 (semver)

Fixed versions

6.0.4

Fix

qs

npm · All systems

Affected

  • introduced 6.1.0, fixed 6.1.2 (semver)

Fixed versions

6.1.2

Fix

qs

npm · All systems

Affected

  • introduced 6.2.0, fixed 6.2.3 (semver)

Fixed versions

6.2.3

Fix

qs

npm · All systems

Affected

  • introduced 6.3.0, fixed 6.3.2 (semver)

Fixed versions

6.3.2

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