News for hackers. Stuff that matters.
Re:Third High Severity CVE in Log4j Is Published by Kreotiko on Saturday December 18, 2021 @12:43PM (#29606554)
If information security people would spend the same amount of time they are spending complaining about this vulnerability trying to educate their organisations on the importance of supporting open source solutions they depend on we wouldn’t be in this situation. I am sick of reading of very senior people complaining about the impact this vulnerability has had on their week when their companies don’t even contribute a penny to open source projects.
Re:Third High Severity CVE in Log4j Is Published by kzrdude on Saturday December 18, 2021 @01:32PM (#29607088)
Maybe we should tell them to engage with open source, not "support it". Companies should look for a way to spend work hours on open source, not finding someone to send money.
Re:Third High Severity CVE in Log4j Is Published by l5ymep on Saturday December 18, 2021 @03:49PM (#29608371)
Convincing project managers to tackle tech debt is hard enough. Contributing to open source won't even reach the middle ear unfortunately.
Re:Third High Severity CVE in Log4j Is Published by tekknik on Sunday December 19, 2021 @07:27AM (#29613374)
Let’s not even get legal involved…
Re:Third High Severity CVE in Log4j Is Published by emn13 on Monday December 20, 2021 @11:22AM (#29626594)
Don't worry, legal will answer a completely different question that's unrelated, but rests on a fundamental misunderstanding of the entire premise due to a combination of misinterpreting technical jargon as plain English and then misapplying a legal generalization, resulting in absolutely essential advice that needs to be followed immediately, which is couched in legalese that the techs will proceed to misunderstand by misinterpreting legal jargon as plain English in combination with a misapplied technical generalization, resulting in an absolute quagmire when it turns out that these essential compliance steps turn out to have a minor impact on the next quarter's bottom line. Thus some even more obtuse interpretation will be dreamed up by some manager to claim CYA without hurting the bottom line (or addressing the reinterpretation of the reinterpretation of the reinterpretation of the original issue). The issue will be resolved, pending small details like the actual legal risk and technical issues, and all will be fine.

But just be be sure, we should ask legal!

Re:Third High Severity CVE in Log4j Is Published by throwaway19937 on Saturday December 18, 2021 @07:24PM (#29610157)
If it's an enterprise (https://zwischenzugs.com/2018/10/02/why-are-enterprises-so-s...) the latter will be a much easier sell to management. Paying for support is a given but contributing developer time will require many approvals from different departments if it can be done at all.
Re:Third High Severity CVE in Log4j Is Published by dwaite on Saturday December 18, 2021 @02:54PM (#29607942)
How do I fund ripping out bad ideas from existing open source software?

Log4j2 partially exists because of pushback on adding features to v1

Re:Third High Severity CVE in Log4j Is Published by nlitened on Saturday December 18, 2021 @04:02PM (#29608463)
Fund a new fork
Re:Third High Severity CVE in Log4j Is Published by bobbyi on Saturday December 18, 2021 @04:21PM (#29608632)
Why not logback instead? It's existed for more than 10 years and its stated goal is "picking up where log4j 1.x leaves off"

http://logback.qos.ch/

Re:Third High Severity CVE in Log4j Is Published by Too on Sunday December 19, 2021 @02:03AM (#29612049)
Just leads to the xkcd “there are now 14 competing standards.”

Honestly the biggest problem of package managers is finding a reputable package that one can trust.

The best one can do to aid this situation is reviewing, vetting and warning of which packages that can be trusted and not. Automatic scanners to find code smells and vulnerabilities.

“Security rating: 2/10, This package seems to use JNDI loading, are you sure you want to continue (y/n).”

Re:Third High Severity CVE in Log4j Is Published by yjftsjthsd-h on Sunday December 19, 2021 @02:48AM (#29612200)
Humor me: if log4j had 13 (independently developed) competitors, wouldn't the impact of this be much lower, because many consumers would use different libraries? Like genetic diversity as a hedge against disease.
Re:Third High Severity CVE in Log4j Is Published by rini17 on Sunday December 19, 2021 @06:16AM (#29613064)
Joke's on you: Then any nontrivial project would end up depending on half of them, actually increasing attack surface.
Re:Third High Severity CVE in Log4j Is Published by gonzo41 on Sunday December 19, 2021 @07:00AM (#29613266)
I bet they'd all compete on features and probably implement the same exploit trying to maintain market share.

Logging as it's understood today should ship with most STD libraries. Things like logback an log4j really should just eventually be rolled into the std.

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....
Re:Third High Severity CVE in Log4j Is Published by akeck on Saturday December 18, 2021 @02:08PM (#29607508)
I read a post recently that said part of the open source funding issue comes down to a financial "structure" mismatch. Open source folks are often individuals or loose collections of individuals. Sometimes they have things like Patreons, ask to receive crypto currencies, etc. Companies don't/can't provide funding via these types of structures, so the writer of the post ended up incorporating a company, setting up a mercantile bank account, commercial payment processing, etc., so companies would be comfortable funding his efforts. Fortunately, this path is lot easier lately with services like Stripe, etc.
Re:Third High Severity CVE in Log4j Is Published by themerone on Saturday December 18, 2021 @03:44PM (#29608346)
My Fortune 500 company has to pay a third party to pay for Google Maps, because we can't pay a supplier with a credit card.

If we can't find a way to pay Google, there is no hope for some random developer in Nebraska.

Re:Third High Severity CVE in Log4j Is Published by ytdytvhxgydvhh on Saturday December 18, 2021 @04:57PM (#29608946)
That feels backwards. Little shops are flexible and can probably do what needs to be done. Lumbering behemoths have (too many) rules and restrict themselves (often) unnecessarily.
Re:Third High Severity CVE in Log4j Is Published by themerone on Sunday December 19, 2021 @12:36PM (#29616080)
Nebraska is a reference to https://xkcd.com/2347/
[dead]
Re:Third High Severity CVE in Log4j Is Published by themerone on Saturday December 18, 2021 @10:14PM (#29611001)
I am a developer in the midwest, and maybe if you hadn't completely missed my poin you wouldn't be such a jerk.

Nebraska is a reference to an XKCD Comic (https://xkcd.com/2347/). The idea is that there are nameless people all over the world contributing to critical open source infrastructure.

Back to the point.

Running Google Maps on one of my low traffic sites, would generate at most, several dollars a month in charges. It would be a rounding error in our budget, and we can't pay it. Our purchasing rules are not flexible enough to work with google.

Paying Google is hard enough, an independent oss developer with no company would be impossible. I would get laughed at if I suggested throwing a few bucks at a developers Patreon.

Re:Third High Severity CVE in Log4j Is Published by lazide on Sunday December 19, 2021 @01:17AM (#29611858)
How does your company handle coffee? Surely there is SOME mechanism for small incidental charges, or how could your company even exist?
Re:Third High Severity CVE in Log4j Is Published by yjftsjthsd-h on Sunday December 19, 2021 @02:49AM (#29612204)
Coffee company sends a monthly invoice.
Re:Third High Severity CVE in Log4j Is Published by lazide on Sunday December 19, 2021 @03:54PM (#29618281)
So no Starbucks with a client on sales calls I guess?
Re:Third High Severity CVE in Log4j Is Published by hotpotamus on Saturday December 18, 2021 @02:39PM (#29607816)
I have a feeling if a company wrote a large enough check, they'd figure out how to cash it.
Re:Third High Severity CVE in Log4j Is Published by ricardobayes on Saturday December 18, 2021 @02:47PM (#29607883)
Well, wrte it to whom? No legal structure is what the comment was partly about.
Re:Third High Severity CVE in Log4j Is Published by ldng on Saturday December 18, 2021 @07:03PM (#29610021)
They must adapt. Period. And don't worry, when they have to, they do find solutions. The thing is, with open source, you don't have to, worse, the vast majority of enterprises rely because you don't need to make any effort.
Re:Third High Severity CVE in Log4j Is Published by wiether on Sunday December 19, 2021 @03:41AM (#29612409)
Solving this issue isn't one of the goals of https://opencollective.com/ ?
Re:Third High Severity CVE in Log4j Is Published by throwaway19937 on Saturday December 18, 2021 @02:19PM (#29607618)
> If information security people would spend the same amount of time they are spending complaining about this vulnerability trying to educate their organisations on the importance of supporting open source solutions they depend on we wouldn’t be in this situation.

Security teams are stuck with securing the tire fire; they didn't choose the library or platform. If anyone should be advocating for supporting open source, it's the developers who benefit by using open source libraries.

Re:Third High Severity CVE in Log4j Is Published by r-w on Saturday December 18, 2021 @03:00PM (#29607988)
I’m not interested in kicking the can down the lane, I just want this stuff to be sustainable.
[dead]
Re:Third High Severity CVE in Log4j Is Published by RHSeeger on Saturday December 18, 2021 @02:02PM (#29607428)
Saying things like "I don't like this software because <concrete reason>" is reasonable; it can be considered constructive criticism, especially if you include a way it could be done better. Heck, even just "I think it's too complicated to use, and the underlying code base needed to support that complexity lends itself to bugs that can be exploited" would be better.

Saying things like "No amount of money is going to impart good taste and best practices onto these projects" is insulting the people who wrote it with no real basis. It's not helpful and it makes you (and some other people in the thread) sound like a jerk.

Re:Third High Severity CVE in Log4j Is Published by def_true_false on Saturday December 18, 2021 @04:30PM (#29608710)
If only being nice to people prevented security bugs, eh?
Re:Third High Severity CVE in Log4j Is Published by virtual_void on Saturday December 18, 2021 @05:31PM (#29609226)
Are you proposing that being rude does?
Re:Third High Severity CVE in Log4j Is Published by pclmulqdq on Saturday December 18, 2021 @06:52PM (#29609932)
The unfortunate thing about scratch rewrites is that they are not a good business. Open Source has conditioned people to think that libraries should be free. It's not clear to me that the alternative where libraries are obscenely expensive (like in the hardware world, where a hash table is a $100k investment) is any better. Nobody has ever built a successful company charging between $0 and $10,000 for a library. That is just how people see things, and unfortunately it is extremely hard to change.
Re:Third High Severity CVE in Log4j Is Published by tjalfi on Saturday December 18, 2021 @07:43PM (#29610259)
Some platforms have reasonable markets for libraries; Advanced Messaging Systems[0], DevExpress[1] and Aspose[2] are three examples of companies that successfully sell software libraries for .NET, Java, and Office.

[0] https://www.dimastr.com/redemption/home.htm

[1] https://www.devexpress.com/

[2] https://www.aspose.com/

Re:Third High Severity CVE in Log4j Is Published by samhw on Saturday December 18, 2021 @02:04PM (#29607463)
> The uncomfortable truth is these libraries need scratch rewrites with better authors.

If that's true, do you think that having money might possibly be helpful to that effort?

Re:Third High Severity CVE in Log4j Is Published by dwaite on Saturday December 18, 2021 @02:57PM (#29607964)
That wouldn’t be funding log4j2 though (from the ‘better authors’ part). That would most likely be an internal effort (devs you trust) published as a new open source logging framework in a sea of existing ones.
Re:Third High Severity CVE in Log4j Is Published by staticassertion on Saturday December 18, 2021 @04:19PM (#29608620)
Honestly, absolutely not, and I think money would be harmful. Lots of software doesn't need a lot of work. It can be simple. When people get paid to solve problems there's an incentive to add more code, to add new domains, etc.

Use the standard java logger and move on, it's that easy.

Re:Third High Severity CVE in Log4j Is Published by tekknik on Sunday December 19, 2021 @07:36AM (#29613417)
Where’s my incentive to work the weekend supporting a project after a long week of supporting my production code? If we want solid and secure OSS, we gotta pay someone!
Re:Third High Severity CVE in Log4j Is Published by staticassertion on Sunday December 19, 2021 @10:33AM (#29614691)
Presumably it's the same incentive that pushed you to write it the first time.

If you don't want to work on it anymore that's OK too. Open source libraries are generally not held to particularly stringent requirements by the vast majority of people - perhaps accepting an obvious patch in a critical situation, at most.

You obviously can pay people. They're called employees. The thing about employees is that your money translates to business value, which is much broader than a single library. This means that when a single library is done the developer doesn't have to think "ok but what's next for this library" and start adding more code. They can stop and move on to other tasks.

Paying for a single library is nice. I support multiple open source developers because I appreciate their work. I recommend everyone does so.

I don't at all believe it's going to help security though.

Re:Third High Severity CVE in Log4j Is Published by ksaj on Saturday December 18, 2021 @02:56PM (#29607953)
One of the maintainers in question holds two jobs to live. Having money might allow him more time to test and retest and update the software more expediently.
Re:Third High Severity CVE in Log4j Is Published by samhw on Monday December 20, 2021 @03:02PM (#29629484)
Sorry, I was posing that question semi-sarcastically. I agree it's blindingly obvious to any sensible person that money would help immensely. However, sadly, there are apparently plenty of people who are just about sensible enough to be able to get out of bed and navigate to this site, but not sensible enough to understand much else.
Re:Third High Severity CVE in Log4j Is Published by TingPing on Saturday December 18, 2021 @01:34PM (#29607107)
OpenSSL at least has significant value, handling logs is usually an easy task.
Re:Third High Severity CVE in Log4j Is Published by natded on Saturday December 18, 2021 @01:05PM (#29606792)
> educate their organisations on the importance of supporting open source solutions

Githubs of the world could just gate downloads, pull requests etc. behind a payment to see what is the real valuation of open source software; I imagine it'd mostly settle around $0 excluding couple of big projects.

Re:Third High Severity CVE in Log4j Is Published by samhw on Saturday December 18, 2021 @02:06PM (#29607483)
Up until the semicolon, this was actually a decent point. I can see a future for high-quality open-source software hosted on an 'app store' which requires a small payment for use - or for commercial use, perhaps.
Re:Third High Severity CVE in Log4j Is Published by ahtihn on Saturday December 18, 2021 @05:03PM (#29608990)
And how are you going to prevent someone from just hosting a mirror for free?
Re:Third High Severity CVE in Log4j Is Published by samhw on Monday December 20, 2021 @02:59PM (#29629445)
That's the question that such an effort would have to solve. I think you're assuming a model where software is directly used by an individual consumer, though, which is not always the case. For commercial applications where your software is integrated into the end product, for instance, companies would never risk stealing unlicensed code considering the risk. How one would address the question you posed is entirely dependent on the domain one's operating in.
Re:Third High Severity CVE in Log4j Is Published by symlinkk on Saturday December 18, 2021 @02:59PM (#29607986)
Giving something away for free and then turning around and guilting people into paying for it is wrong.
Re:Third High Severity CVE in Log4j Is Published by yjftsjthsd-h on Sunday December 19, 2021 @02:50AM (#29612205)
Using something for free and expecting support is hilarious.
Re:Third High Severity CVE in Log4j Is Published by ncmncm on Saturday December 18, 2021 @06:35PM (#29609803)
That seems to be an opinion. Opinions vary. Mine does.