Prototype Pollution in dset
Moderate severity
GitHub Reviewed
Published
May 3, 2022
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
May 1, 2022
Published to the GitHub Advisory Database
May 3, 2022
Reviewed
May 20, 2022
Last updated
Feb 1, 2023
All versions of
dset
prior to 3.1.2 are vulnerable to Prototype Pollution viadset/merge
mode, as thedset
function checks for prototype pollution by validating if the top-level path contains__proto__
,constructor
orprototype
. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.References