News for hackers. Stuff that matters.
Re:Npm Audit: broken by design? by nkozyra on Wednesday July 07, 2021 @11:55AM (#27762522)
> A regex "denial of service" "vulnerability" could be important, if it shows up in code that processes untrusted input from end users.

But in this context what's the end result? Chrome locking up on the end user's (attacker's) machine? Again, an "attacker" doesn't have access to the source code for distribution. By inputting bad regexp data they're only DOSin themselves, no?

Re:Npm Audit: broken by design? by esens on Wednesday July 07, 2021 @11:58AM (#27762562)
Could be in a service on a server, which in this case a RegEx DOS could lock the server for all users.
Re:Npm Audit: broken by design? by JonathonW on Wednesday July 07, 2021 @12:13PM (#27762758)
Or if a JS frontend takes in input that comes from other users-- something like forum post titles or content.

That's "just" a browser freeze for end users, but still a potential DOS vulnerability if it's in the application's critical path.

Re:Npm Audit: broken by design? by nkozyra on Wednesday July 07, 2021 @12:37PM (#27763021)
Right, but that's why I wrote "context," and seems to be the primary complaint in this article.
Re:Npm Audit: broken by design? by Avamander on Wednesday July 07, 2021 @02:31PM (#27764310)
StackOverflow and Cloudflare have both self-DoSed themselves with such flaws, causing downtime.