Skip to content

Prototype Pollution in object-path

High severity GitHub Reviewed Published Sep 20, 2021 to the GitHub Advisory Database • Updated Nov 29, 2023

Package

npm object-path (npm)

Affected versions

< 0.11.8

Patched versions

0.11.8

Description

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.

References

Published by the National Vulnerability Database Sep 17, 2021
Reviewed Sep 20, 2021
Published to the GitHub Advisory Database Sep 20, 2021
Last updated Nov 29, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2021-3805

GHSA ID

GHSA-8v63-cqqc-6r2c

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.