5 ms·
Many of these kinds of things are in places that could never actually result in a denial of service. There is a large problem with security reporting where peo
by colechristensen 5y ago
Many of these kinds of things are in places that could never actually result in a denial of service. There is a large problem with security reporting where people report issues which couldn’t ever be exploited and then scanning tools and up showing hundreds of “vulnerabilities” which don’t actually represent any danger.
- DeepYogurt 5y agoI mean, you don't have to use the scanning tools if you'd prefer not to know.
- Hallucinaut 5y agoThe problem is it gets weaponized. If you're unlucky you have a client who runs a scan naively on your software and demands these get addressed as critical priorities under SLA. I'm sure there are plenty out there with managers who will just run the report and demand these "security issues" are fixed and won't understand an explanation on why it's not relevant.
- bawolff 5y agoThis is a silly objection in my opinion - clients demand unreasonable things all the time. Its up to you to write a reasonable SLA that protects yourself. Dont get me wrong, i wish npm audit was better. But unreasonable people will be unreasonable regardless of the tools they have access to.
- colechristensen 5y agoIt’s not about not wanting to know, it’s about wanting to know about real security issues and being buried in low quality reports which do not need to be addressed.
- technion 5y agoThe risk that a person could potentially write an infinite while loop and commit it to a codebase is about the same as the threat posed by the DoS "vulnerabilities" that seem to have completely overrun the NPM audit system. Noone wants to know about the former risk.
- gauravphoenix 5y agocouldn't agree more- we built Dassana [1] so solve this problem by adding context to security alerts. Currently we support AWS Config/GuardDuty alerts but had been thinking of adding context to vuln scan results too. [1] https://oss.dassana.io/ https://oss.dassana.io/
- charcircuit 5y agoEven 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.
- recursive 5y agoIf 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.
- charcircuit 5y agoThis 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.
- inbx0 5y ago> 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
- charcircuit 5y agoI 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.
- inbx0 5y agoSure, 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.