Skip to content

Address Prototype Pollution vulnerability#7

Open
omrilotan wants to merge 1 commit into
jonschlinkert:masterfrom
omrilotan:2019-08-25-prototype-pollution-vulnerability
Open

Address Prototype Pollution vulnerability#7
omrilotan wants to merge 1 commit into
jonschlinkert:masterfrom
omrilotan:2019-08-25-prototype-pollution-vulnerability

Conversation

@omrilotan
Copy link
Copy Markdown

@omrilotan omrilotan commented Aug 25, 2019

TL;DR

This vulnerability exposes language construct prototypes to unwanted modifications

defaultsDeep(
  {},
  { constructor: { prototype: { isAdmin: true } } }
);

console.log({}.isAdmin); // true for all objects now

Further reading:

Open reports:

@omrilotan omrilotan force-pushed the 2019-08-25-prototype-pollution-vulnerability branch from 51a87a3 to 80aa896 Compare August 25, 2019 08:06
@omrilotan omrilotan force-pushed the 2019-08-25-prototype-pollution-vulnerability branch from 80aa896 to 26845ab Compare August 25, 2019 08:08
@omrilotan
Copy link
Copy Markdown
Author

@jonschlinkert It there any hope to release this security patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant