Prototype pollution not blocked by object-path related utilities in hoolock
Moderate severity
GitHub Reviewed
Published
Jan 23, 2024
to the GitHub Advisory Database
•
Updated Jan 23, 2024
Description
Published by the National Vulnerability Database
Jan 22, 2024
Published to the GitHub Advisory Database
Jan 23, 2024
Reviewed
Jan 23, 2024
Last updated
Jan 23, 2024
Impact
Utility functions related to object paths (
get
,set
andupdate
) did not block attempts to access or alter object prototypes.Patches
The
get
,set
andupdate
functions will throw aTypeError
when a user attempts to access or alter inherited properties in versions >=2.2.1.References