Settings

Theme

"The issue was detected by our new AI-powered vulnerability scanner"

mastodon.social

43 points by jviide 2 years ago · 8 comments

Reader

minimaxir 2 years ago

From the GitHub Issue itself, the maintainer did end up creating a PR to fix a related issue raised by the bot: https://github.com/curl/curl/pull/12984

Also, the bot filed another issue on a different repo referencing the source issue, despite the complaints: https://github.com/mirror/wget/issues/25

GuB-42 2 years ago

The problem looks minor, but real.

The reporting is terrible though. Publicly releasing severe vulnerabilities is not very ethical. But they also called it severe without actually analyzing it.

Their AI really looks like a useful tool, but that's not the best way to show it off to say the least.

Is it a commercial system and is their intention to advertise that they found a severe vulnerability in curl with it?

dale_glass 2 years ago

Unfortunately, UB has some extremely nasty characteristics, and even if it doesn't do anything nasty now, it's not a guarantee that it won't turn into a problem later.

Making assumptions about what the code should be reasonably interpreted as is unfortunately not a good bet to make.

At any time, a new compiler version may do something bizarre when it figures out the code is UB.

  • MauranKilom 2 years ago

    Agreed - I am a bit troubled by the maintainer stance here, even if they have to wade through a bunch of AI nonsense every day and this report is fluffed up way too hard.

    "We assume 64 bit overflow is not going to happen because nobody can store that many bytes" could be valid if the existence of those bytes was required for reaching this code. But if user input can lead to UB being triggered here, fixing the code is indeed prudent, even if everyone were fully convinced that current compilers are not outsmarting themselves.

SebFender 2 years ago

Automation in vulnerability scanning just doesn't work. We've tried many and the end result is too much noise. Code better, review in multiple steps. Simple efforts do work very well.

tester756 2 years ago

I don't understand why maintainer is so snarky when this tool found legit issue that they fixed <wtf>

  • justinclift 2 years ago

    It looks like a minor bug that was reported as a high severity security issue, with the reporter not being able to explain why other than "this kind of error CAN be bad".

    Not sure if I'd be snarky for the first few clueless reports, but I'd probably be getting there after several of them have happened.

    • whaleofatw2022 2 years ago

      Also not following general polite disclosure on a security issue...

      Tell them privately first, ideally with a repro

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection