hapijs / hoek

Node utilities shared among the extended hapi universe
Other
481 stars 171 forks source link

Fix prototype pollution #362

Closed gjasny closed 3 years ago

gjasny commented 3 years ago

Hello,

are you aware of the prototype pollution of lib/merge.js reported in 418sec/huntr#647? Could you please provide a fixed version?

Thanks, Gregor

Marsup commented 3 years ago

Thanks for the report, I have some comments though:

gjasny commented 3 years ago

Thank you for your comment. I'm a C++ developer, not a JavaScript one. I mostly interact with the JS world by triaging our internal static code analysis reports. Do I understand correctly that there is no vulnerability and you don't have to take any action?

Marsup commented 3 years ago

Correct. Their report is a gross misunderstanding of how JS works, I'm not saying hoek is free of prototype pollution, but if that's the case we have no knowledge of that.

cjihrig commented 3 years ago

Closing as not an issue. Thanks for the report though.