Earlier quoted context omitted.
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 su…
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.
Third High Severity CVE in Log4j Is Published
261–270 of 335 posts
Re: Third High Severity CVE in Log4j Is Published
#262Thanks to all Log4j developers. As users of your free software since ~20 years, we're sure that, if this vuln disclosure had been better and there were no sign of widespread in-the-wild exploitation, you would have done a better job at patching it, and a single release would have been enough. We won't hold a grudge against you; open source means collaboration, and you don't blame hard-working people that give away th…
I lay any blame squarely at the feet of IT security of large organisations that were entirely unprepared to update a widely used dependency that wasn't an operating system or a runtime. Windows, Linux, Java, and .NET are all commonly updated, but "modules" aren't. This wasn't just a predictable scenario, it was predicted. Or more accurately, it has occurred already repeatedly in the NPM ecosystem, but for some myster…
Our software scans take 3 forms:
1. Searching for file names
2. Running test exploits that have a payload that just logs the vulnerability with a central monitoring system
3. Dependency resolution and checks against a DB (our solution _already_ supports Cargo.lock files.
Rust (and Go, C++, etc.) only prevent option 1. Thanks to bundlers it also can miss it in JS, or shaded fatjars it can also fail kn Java too. So it's not a new challenge
Re: Third High Severity CVE in Log4j Is Published
#263Earlier quoted context omitted.
> Library .so files are not harder to scan than jar files. Of course they are. You can trivially reverse engineer Java bytecode back to Java, with almost everything except generic annotations due to erasure, and a few other small things. Tools have been around for ages that do this[0], and while they're not perfect, they can re-generate nearly perfectly compilable source code. .so files are ELF files, which means whi…
> This means you need to convert machine code (assembly) back to a higher level language ...why? You don't need code to be in an HLL representation in order to patch it. Where by "patching" I mean "automatic insertion of a JMP into the subroutine prologue, that branches to your replacement code." You don't even need to write any assembly in order to do that, either; you can write your replacement subroutine in C or w…
Re: Third High Severity CVE in Log4j Is Published
#264Thanks to all Log4j developers. As users of your free software since ~20 years, we're sure that, if this vuln disclosure had been better and there were no sign of widespread in-the-wild exploitation, you would have done a better job at patching it, and a single release would have been enough. We won't hold a grudge against you; open source means collaboration, and you don't blame hard-working people that give away th…
I lay any blame squarely at the feet of IT security of large organisations that were entirely unprepared to update a widely used dependency that wasn't an operating system or a runtime. Windows, Linux, Java, and .NET are all commonly updated, but "modules" aren't. This wasn't just a predictable scenario, it was predicted. Or more accurately, it has occurred already repeatedly in the NPM ecosystem, but for some myster…
Re: Third High Severity CVE in Log4j Is Published
#265Earlier quoted context omitted.
Yes, some organizations have so much technical debt that any security work is going to take extraordinarily large amounts of work. That's a bummer, but I suspect many on HN can in fact build software that isn't total garbage.
Doing it right sometimes pays off in the long run, but cutting corners always pays off now.
Re: Third High Severity CVE in Log4j Is Published
#266Hugs for all of you. This can't be fun.
Re: Third High Severity CVE in Log4j Is Published
#267Re: Third High Severity CVE in Log4j Is Published
#268Earlier quoted context omitted.
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 su…
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.
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
#269Earlier quoted context omitted.
Good luck doing that on the custom software some vendor provided you 5 years ago and since has gone out of business.. and that’s a GOOD scenario for a lot of enterprise software. Sometimes it’s 20 years.
Lesson learned. Never buy closed source. Imagine the vulnerability would have been in the vendor code instead of in the log4j jar. You’d. still need a way to fix and rebuild it. Note that this doesn’t have to mean a public MIT repo on GitHub. You can have more restrictive gray box licenses between your b2b partners only.
Re: Third High Severity CVE in Log4j Is Published
#270Earlier quoted context omitted.
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.
Convincing project managers to tackle tech debt is hard enough. Contributing to open source won't even reach the middle ear unfortunately.