You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and see what happens to the node.js engine (hint: it'll hang). Thus if Malory is able to make you call validator.isEmail(...) on a parameter he passed, he can do a DoS on a web appication using validator.js.
Ouch. Thanks for pointing this out!
Basically I lost my tab and my I7 processor went crazy up to 25% with a single tab. Didn't try server side but I believe in the DoS issue.
Just call
validator.isEmail('"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
and see what happens to the node.js engine (hint: it'll hang). Thus if Malory is able to make you call validator.isEmail(...) on a parameter he passed, he can do a DoS on a web appication using validator.js.
Background of this dangerous bug: http://en.wikipedia.org/wiki/ReDoS.
The text was updated successfully, but these errors were encountered: