News for hackers. Stuff that matters.
Re:Third High Severity CVE in Log4j Is Published by UncleMeat on Saturday December 18, 2021 @03:08PM (#29608053)
Would more funding have actually uncovered this?
Re:Third High Severity CVE in Log4j Is Published by darkr on Saturday December 18, 2021 @03:33PM (#29608242)
Not in and of itself.. However if part of that funding was used to cover formal (external) audits, investment in fuzzing/automated security testing etc.. then it might well have done
Re:Third High Severity CVE in Log4j Is Published by svieira on Sunday December 19, 2021 @07:28AM (#29613379)
"Might have" is the operative word. In a world where Project Zero's _This shouldn't have happened_ [1] was also published this month (buffer overflow on NSS), I'm less certain. Quoted from the article:

---- This wasn’t a process failure, the vendor did everything right. Mozilla has a mature, world-class security team. They pioneered bug bounties, invest in memory safety, fuzzing and test coverage.

NSS was one of the very first projects included with oss-fuzz, it was officially supported since at least October 2014. Mozilla also fuzz NSS themselves with libFuzzer, and have contributed their own mutator collection and distilled coverage corpus. There is an extensive testsuite, and nightly ASAN builds.

I'm generally skeptical of static analysis, but this seems like a simple missing bounds check that should be easy to find. Coverity has been monitoring NSS since at least December 2008, and also appears to have failed to discover this.

Until 2015, Google Chrome used NSS, and maintained their own testsuite and fuzzing infrastructure independent of Mozilla. Today, Chrome platforms use BoringSSL, but the NSS port is still maintained.

Did Mozilla have good test coverage for the vulnerable areas? YES.

Did Mozilla/chrome/oss-fuzz have relevant inputs in their fuzz corpus? YES.

Is there a mutator capable of extending ASN1_ITEMs? YES.

Is this an intra-object overflow, or other form of corruption that ASAN would have difficulty detecting? NO, it's a textbook buffer overflow that ASAN can easily detect. ----

[1]: https://googleprojectzero.blogspot.com/2021/12/this-shouldnt...

Re:Third High Severity CVE in Log4j Is Published by layer8 on Saturday December 18, 2021 @07:10PM (#29610066)
That’s a really big "if" though.
Re:Third High Severity CVE in Log4j Is Published by xyproto on Saturday December 18, 2021 @03:15PM (#29608114)
No. Funded projects also contains bugs.
Re:Third High Severity CVE in Log4j Is Published by yawaramin on Saturday December 18, 2021 @04:24PM (#29608664)
Would less funding have uncovered it?
Re:Third High Severity CVE in Log4j Is Published by rileymat2 on Saturday December 18, 2021 @06:14PM (#29609639)
Would less funding have prevented the feature being implemented? Maybe?
Re:Third High Severity CVE in Log4j Is Published by yawaramin on Sunday December 19, 2021 @06:01PM (#29619455)
There's no way to argue that less than zero funding would have prevented the log4j maintainers from merging a patch that was sent to them by a third party.
Re:Third High Severity CVE in Log4j Is Published by anchpop on Saturday December 18, 2021 @11:21PM (#29611283)
probably not but i don’t think anyone suggested less funding
Re:Third High Severity CVE in Log4j Is Published by yawaramin on Sunday December 19, 2021 @06:02PM (#29619460)
Well I don't think anyone suggested anything actually helpful or relevant, so....