News for hackers. Stuff that matters.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Thursday October 07, 2021 @11:28PM (#28795431)
Even so, you should just upgrade to a secure version anyways. Wanting to stick to an old version with vulnerabilities in it seems like something you shouldn't want to do.

If anything you should be promoting easier upgrades for the packages affected by these security problems.

Re:GitHub Advisory Database now powers NPM audit by recursive on Friday October 08, 2021 @12:03AM (#28795624)
If only it were so easy. Typically, you're not using these dependencies directly. You use something that uses them. And it's not compatible with the "secure" version.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @12:17AM (#28795698)
This sounds like a bigger problem than whatever issues exist with npm audit. Security updates should not be hard to do. When a vulnerability drops that impacts you project severely it should be easy to get to a secure state. Having to deal with working with downstream projects or a secure version being incompatible sound like big problems with the ecosystem.
Re:GitHub Advisory Database now powers NPM audit by inbx0 on Friday October 08, 2021 @03:44AM (#28796718)
> vulnerability drops that impacts you project severely

well if it's a regex ddos in build tooling, it doesn't "impact your project severly". That's the entire point of this thread

Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @09:44AM (#28799204)
I never said it did. I am saying that if it's hard to patch irrelevant issues it is also hard to patch relevant issues. The ideal would be it is easy to patch all issues so you can always just upgrade to a safe version.
Re:GitHub Advisory Database now powers NPM audit by inbx0 on Friday October 08, 2021 @12:54PM (#28801343)
Sure, but that's not something you can fix at the ecosystem level, it requires effort from the package maintainers and/or researchers to backport these fixes to older versions. And if the fix requires effort from the maintainers that is not actually very benefical to anyone (i.e. the vulnerability does not actually impose a security risk) then we are back to the question if it's really worth it. The effort has just been moved from the consumer to the library author.
Re:GitHub Advisory Database now powers NPM audit by recursive on Friday October 08, 2021 @07:47AM (#28798134)
Just because npm audit says something doesn't mean it has any impact at all. Most of its outputs are false positives.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @09:44AM (#28799217)
But when it's not a false positive, when it actually impacts your project it should be easy to update.