464 points · by notmine1337 · 2w ago · 139 comments
This PR's author says there on October 1st: "Got an email from Oracle asking me to NOT proceed with a PR until receiving approval." and then on October 28th: "It's taken over by Oracle. Nothing required from us."
https://github.com/adoptium/adoptium-support/issues/1480#iss...
edit: also oracle is big enough to have one of every modern gen to test on
I don't know if people here understand how these things need to be done in the most important and critical open source projects, such as Linux or OpenJDK, but there are two things you must not do when an issue is suspected to be a risk until you've researched the matter and decided on a backport and release strategy: You shouldn't communicate publicly, and you absolutely shouldn't merge a patch.
I (still) agree, but I don't think these rules will be valid for much longer, though.
With new models capable of finding vulnerabilities faster than ever before, if you (or your AI) was able to find a critical bug, it's only a matter of time that the bad guys will also discover it - if they haven't already.
Human skill and ingenuity used to be the limiting factor, so it was the universal equalizer. Now the game depends on how many tokens you want to throw at the problem, and there are many bad actors with incentives to outspend every white hacker out there.
Responsible disclosure will still be important, of course, but timelines will need to be compressed into days, instead of months.
Full disclosure might cause short term panic, but it does get things fixed quickly.
Exploit shops can start months later to evaluating exploitability.
Timeline was:
- Jun 8: reported crashes
- Sep 9: (two months!) it was know base64 asm code is bad and patch was posted
No idea why anyone need to wait for anyone and especially on any corporation to apply the available patch !
So, it's 2 months later and Oracle is siting on their hands.
Then month and two weeks later Calif rediscovered crashes but this time person(s) involved have funny past time hobby: hacking :)
5 days later Oracle looks clueless, requesting info...
Two more weeks later Oracle have The Patch ! And recommends everyone to do nothing !
14-17 Nov: governments are informed :))) Thank you Calif for remembered about them ;) Somebody needs to tel governments they have problems...
17 Nov: Oracle gives fixes to the world...
Now governments are allowed and can start patching their infra...
Is any of this sane ???
It's almost half a year of exploitable Java on government and enterprises servers and fix was ready by half of that time.
Just nobody was allowed to compile open sources by themselves.
And all of this is optimistic version, thanks to code being available...
They are the biggest asshole of a company when it comes to anything, but especially security issues. They are one of the least friendly companies to security researchers and are likely to attack you with lawyers.
Fuck Oracle. We should be putting them out of business.
The harness itself doesn't run with Internet access and I confirmed it didn't access this PR directly, but who knows if this was in the training set itself.
Either way, these simultaneous disclosures are incredibly common now. The Ruby issue affecting Gitlab was not only known about for 6 months, it was publicly fixed for 6 months before someone turned it into an RCE. The fix sat on the Ruby dev branch, and it was never pulled into an actual Ruby release until after Gitlab disclosed their own 10.0 vulnerability through it.
It's very common for reporters to not realize the impact of a bug, models are very good at turning bugs into RCE chains, and the volume everywhere now means security teams are basically only focused on RCEs.
I’m curious if there’s been much study into long-horizon behavior depending on the date? Probably unlikely, but the sheer volume of simultaneous discoverers just feels… weird.
That said, it’s probably more likely a lot of these have actually been discovered during large scale RL rollouts.
The sheer volume and scale is just massive, many reports are false positives; there’s zero chance someone at Anthropic/OpenAI is actually going through run 02947 with XXX billion tokens and seeing which discoveries are real.
There are lots of bugs in lots of software, and lots of them get ignored when reported.
I personally aware of multiple security vulnerabilities in major pieces of software that everyone has heard of, which I very quickly and easily stumbled on while working on this software as an AWS engineer several years ago. I had never used an LLM of any kind at the time.
I presented my findings both internally and externally, and the reactions ranged from shrugs to delays to hostility towards me for "getting distracted" or "being overly negative."
Those bugs that I discovered still exist, last time I checked.
the contrary is very likely thing the agent may have done, given they... like agents dig the web, don't they. and if im a security researcher digging through Oracle's shit, the open issues sure does look a good starting point.
- why was this not a secure vulnerability report, why was it public?
- why was this closed [by the submitter]?
For the second question, I suspect it's because they were told a different fix was coming.
I know I have opened a lot of PRs where the only result is I get bot spam in my email and no project reaction, so I close the PR to stop the bot spam; if nobody from Oracle has reacted in 2 months it seems unlikely anyone will.
Nowadays I’ve stopped opening “cold-call” PRs like this. I find a way to chat with a maintainer first and anchor what I want to do (“I hit this bug, would you take a PR to fix it? I was thinking it could be solved by x, would that work?”
Much much better outcomes that way.
Because it was seen as a crash not an RCE. AI's power has been chaining simple crashes into exploits. But that's not generally going to be true.
Nonetheless, being able to understand the criticality of a finding, and how to exploit it are other skills, that still require supervision.
I often do this when looking for low hanging fruit. A lot of the time you find half-abandoned PRs when the original author ran out of damns to give.
A lot of similar aspects to the "PHP embargo was broken" deal the other week.
For the same reasons you give, there is a different level of pressure on timelines and responsiveness, too, for a project like OpenJDK. I don't think 1 month is reasonable timeline for a publicly known vulnerability like this.
Maybe simply a coincidence, but I would put my bets that the first person with the PR was also using Codex, and the model was exposed to the details of the bug.
I have no idea why people keep talking like this. Probably because sadly most engineers lack the ego to back themselves up. Imagine if someone said this in 2015: "I worked on the physics engine, tests, via widely accessible libraries. Well, more precisely, I told my compiler to read the source code and compile it like any serious software engineer in 2026."
Quit saying Codex/Claude/an LLM did something. They didn't. You did.
Your hypothetical makes the opposite point from what you intend. If someone in 2015 said that they worked on a physics engine, and all they did was run the compiler on existing code, we'd laugh them out of the room. Pointing an existing computer program at existing work doesn't count as doing very much.
I think there's a vast difference between giving source code to a compiler (even a superoptimizing compiler) and giving a prompt to a language model. This distinction absolutely deserves to be called out and not swept under the rug. It doesn't make you any less responsible for what you submit, but it's courteous to your reviewers to be transparent.
There is a massive difference between prompting "security audit this codebase, make no mistakes", performing an in-depth agent or LLM-assisted focused search for security relevant code, or otherwise manually reviewing code as we did in the pre-LLM era. It behooves us to be honest about our own personal contribution to our output - both towards others and to ourselves.
Because when people really spend the effort required to fully review and own the result, somehow they don't have a problem of pointing at models.
It was literal bug with provided fix. All it needed is someone to have a proper look.
But someone clowned a bot under a visionary thought "if nobody looked it must not be important" and here we are
We're not talking any large open source project here. We're talking about a project that, like Linux, runs much of the world's software infrastructure, and even bugs that could potentially be vulnerabilities need to be handled with great care.
Also, it's not really a leaked 0-day because there's ways to go from a bug to an exploit (even going from Calif's detailed public report to an exploit is not trivial, because exploits depend on the particular application; there has been no disclosed exploit that requires only the JDK).
Except soon you can expect LLM triage to be standard.
We would then find out if enough tokens would be invested in this one to figure out it was important, but any look is better than none.
I actually think the suggestion in the PR should have been auto accepted by an LLM.
Why invest more time to close it? The automation will do it for you.
In this case, there's evidence from a linked issue that Oracle was in communication with the author outside the PR. When you get a ping, and you know it's being worked on outside the PR, it does make sense to close it, cause you know it's being resolved elsewhere.
Would it be better to have some Oracle gpus running the dukebot? Are the robobun and friends better at real triage/escalation? Could we automate the robobots to register the `java2root.com` domain on its own, release a blog post and post it in twitter/hn upon every successful security issue?
If I were the relevant maintainer I would have reached out to submitter privately and asked them to hold off more widely reporting this, and I would not have stopped the bot from announcing impending closure.
You might follow up with a De Bruijn/cyclic pattern and can see the overflow happen by step1 and precisely locate it by what replaces the A's.
https://youtu.be/L2j90atBpRU?is=q6W_1eF4viMoKZEA
Didn't the Alpine Linux bug also use A's for the exploit to login as root?
Although maybe they didn’t even know their LLM was doing this.
lol
lmao even