Advisory

GHSA-8v63-cqqc-6r2c

Also known as: CVE-2021-3805

Summary

Prototype Pollution in object-path

Details

object-path is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'). The del() function fails to validate which Object properties it deletes. This allows attackers to modify the prototype of Object, causing the modification of default properties like toString on all objects.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-20 20:46 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

object-path

npm · All systems

Affected

  • introduced 0, fixed 0.11.8 (semver)

Fixed versions

0.11.8

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