Hacker News new | ask | show | jobs
by pron 15 days ago
First, you need to know that the original reporter is a former Oracle employee who is a committer on the project and has direct, non-public access to Oracle.

> No idea why anyone need to wait for anyone and especially on any corporation to apply the available patch !

Because as soon as it was suspected to be a security risk we could not apply it. This is how security is done in critical products.

When you say "accept the PR", understand that we're not talking about applying it to mainline, but backporting it to all affected and supported versions. That is something that immediately draws attention. Then, a vulnerability is closed not when it reaches the codebase, but when it's deployed by the users to production, and users have the means to apply the regular quarterly updates, but not necessarily emergency ones (because there can always be other emergencies that occupy them). So what you need to do is investigate the risk and then decide whether to issue an emergency update or wait for the regular quarterly release.

The JDK is critical infrastructure, we simply cannot take cavalier, irresponsible actions of the kind you suggest; I would say insane, but I realise you're just unfamiliar with critical software security (I know you have good intentions and think it's fast, but we've been doing this for thirty years and know it's anything but). Think what would happen if every critical product would issue an emergency release with the maximal urgency advisory whenever any bug is thought to might be a vulnerability of an unknown severity.

Sorry, but we must take security matters extremely seriously, and handle them the right way (which is also the fastest way).

1 comments

Now read first sentence of what I wrote:

> What about when you just want to get rid of crash ? Just merge, everybody recompile, end of the story.

Which action solves bug better ?

Because your industrial and official protocol is deeply flawed, change it.

But must agree that requiring users of open source code compiling it yourself is a bit a wish on my part :)

Still governments and corporations should simply pay a lot more attention to software they use.

Let's repeat: procedure that extends critical bug from 2 months into half a year should be changed.

> Because your industrial and official protocol is deeply flawed, change it.

No, it isn't. This is how security is (and has to be) done in critical products.

If something isn't a vulnerability then 1. we might not need to backport at all or not to many versions (although crashes usually are backported), and 2. we definitely not issue an emergency update. The fix goes into either the next major release (twice a year) or the next regular update (every quarter).

So there may be a few months between the time something is merged and the time it reaches users. But if it's a vulnerability you may want to do an emergency release, depending on the severity. If you don't know it's a vulnerability (let alone its severity) you really don't want the code sitting out there until you figure out.

> Let's repeat: procedure that extends critical bug from 2 months into half a year should be changed.

What happened on 16 June was a report of a crash in the GC. There was no reproducer, the cause wasn't known, and there wasn't a special reason to believe it had anything to do with a compiler intrinsic, let alone a serious vulnerability (a potential attacker also couldn't do something with that report, as the crash happened nowhere near the cause).

From the time the cause was discovered in September (which started the investigation into a vulnerability) to the time an emergency patch was released, it was a little over two months, and less than one month from the time Calif shared an exploit (which may have helped the decision to make an emergency release; don't know, I'm not on the security team).

I will no argue more about procedures because I have no (or almost no) first hand experience with serious systems. Also I was never negateting need for serious approach.

Guess after Calif report things was handled proffesionally. Just "governments" part is funny :)

But, still, I know that "crash" is enough reason for emergency release, even, I think, it is pretty default behavior in open software world. And in this case fixing crash would be one 0 day less.

> > Because your industrial and official protocol is deeply flawed, change it.

> No, it isn't. This is how security is (and has to be) done in critical products.

Looks my opinion was very over-harsh if you count things since Calif report.

But if security problems was known or probable 3 months erlier then 5 months reaction time to my unproffesional eye is crazy and procedures are crazy too :)

> But, still, I know that "crash" is enough reason for emergency release, even, I think, it is pretty default behavior in open software world. And in this case fixing crash would be one 0 day less.

It really isn't. An emergency release places a burden on your users, and unless they know there's a significant risk, they just won't upgrade. On the fix side, this took some investigation, and while a crash is very serious, there was no reason to drop everything else and focus on this (there are other serious things to work on).

> But if security problems was known or probable 3 months erlier

It was neither known nor even suspected three months earlier. It was only one month earlier, when the cause of the crash was discovered, that things seemed like this could be a serious vulnerability.