(links to more at https://news.ycombinator.com/item?id=50184935)
Today's PHP security release, and how we're strengthening security (thephp.foundation)
dofm 3 hours ago
While I have been chasing around today, trying to resolve this on different servers, it turns out a three line nginx mitigation (blocking multipart uploads) I wrote in the wee small hours GMT has been quietly protecting a vulnerable machine I could not shut down (from attacks powered by every single mainstream agentic AI tool — Anthropic, OpenAI, Qwen cloud, Baidu, seemingly also AWS, Meta)
Including an hour before the PHP patch actually shipped.
So without the HN discussion I wouldn't have found enough people pointing at possible mitigations and I would have lost a server to this, and I thank everyone who pointed out that second mitigation in particular.
UomoNeroNero 3 hours ago
I absolutely loved being here today.
So many brilliant minds screaming and hating together, trying to survive the tide.
There aren’t many places like this left on the commercial internet, especially in this brave new AI-driven world.
I felt a great disturbance in the Force. But in a good way.
Together, we are strong. May the Force be with us all!
tasuki 2 hours ago
Is it so bad? Have you measured the number of attacks?
> So without the HN discussion I wouldn't have found enough people pointing at possible mitigations and I would have lost a server to this
I run a tiny server. I like this server a lot. I only patched an hour after the Debian package was ready and didn't think about it again. Do you mean to imply there's a real chance my little server has been compromised?
[Edit:] My server is quite public too. It hosts four SLDs and many subdomains and receives both human and bot traffic. Only one or two subdomains use PHP, but a reasonable attacker surely tries all of them.
dofm an hour ago
It is not a torrent, no. Dozens up to hundreds, rather than hundreds to thousands.
But they would very likely have succeeded, right? It's a fairly turnkey vulnerability.
> I run a tiny server. I like this server a lot. I only patched an hour after the Debian package was ready and didn't think about it again. Do you mean to imply there's a real chance my little server has been compromised?
Can't say one way or another. Have a look at your log file for POST requests in quick succession for things like
/_next
/_next/server
/app
/actions
/api
/dashboard
> [Edit:] My server is quite public too. It hosts four SLDs and many subdomains and receives both human and bot traffic. Only one or two subdomains use PHP, but a reasonable attacker surely tries all of them.All my "obviously PHP app" domains got visited. None of my bespoke app domains (which are not obviously PHP). Though over time, the bespoke domains do get a whole bunch of boring probes for WP vulnerabilities etc., like all websites get.
tasuki an hour ago
Surely it doesn't take a very sophisticated attacker to clean up after themselves at least a little bit?
dofm an hour ago
If your attacker is someone known to you, some kind of persistent threat, then maybe they would? But most of this stuff is typically kind of worm-like; attack one box, use it to attack another, move on.
With this particular server I am in two minds about whether it is likely I have any persistent type hackers, but I must say what it looks like is automated attacks. AI script kiddies, almost. These same boxes attract all the typical PHP app probes (WP2shell etc.)
And FWIW what it actually mostly looked like was hits from some sort of cloud-based AI search API; they suddenly stopped at the same time as if someone else had pulled a plug. So maybe someone running an agentic search API decided not to be part of the probes.
tom1337 an hour ago
tclancy 2 hours ago
antihero 2 hours ago
dofm an hour ago
It's a bit more a "certain C programming techniques are bad" problem.
This is more like log4j, heartbleed etc.
Won't be the last of these.
pseudosavant 2 hours ago
I finished moving the remainder of my stuff off of PHP and WordPress last year and haven't missed it at all. Backwards compatibility was typically pretty bad.
It seemed like maintaining existing working PHP code was always a cycle of: upgrade to newer PHP, that version has breaking changes, fix that code or update to a new WordPress (plus all of the plugins that would inevitably need updating too).
technion an hour ago
jonwinstanley 37 minutes ago
dofm an hour ago
But this isn't about PHP code, really — this is about C code (with less-than-ideal exception handler patterns). This problem is more Heartbleed than WP vulnerability.
I quite like modern PHP, I don't really think it's necessarily any less secure (exception handler weirdness notwithstanding), and more to the point, I don't think not using it is any kind of automatic improvement in web app security. It's not like server-side JavaScript is intrinsically better.
I am certainly doing some thinking today; I switched off a couple of web servers so I didn't have to think about them while I was working on other stuff, and actually I think they might not get switched back on. But it's not so much that they are running PHP as that they were kind of neglected and it's always worth reconsidering what you need to keep around.
I think I have reached a point where low value stuff is not worth subsidising just for fun.
antihero 2 hours ago
dofm an hour ago
This is PHP world; it may be a share nothing architecture, but it's full of long-running VMs and very long-running apps.
cortesoft 44 minutes ago
You lost its privacy
quotemstr 2 hours ago
dofm an hour ago
1) you're being rude, just stop it and get a grip
2) actually, this particular mitigation is very clearly stopping all the unusual patterns of POST request attempts I can see (it's not usually a busy server)
3) I know it is not the only mitigation that is necessary
4) … so it isn't the only mitigation I have applied
5) I am not working under a false sense of security, and I know it is temporary
6) I am not an idiot, and I am working on patching this machine, but this particular server has a unique and complicated configuration and needs a bespoke build
7) I have been prioritising much more serious risks for other people, all day, for no pay
8) again, to reiterate, you're rude.
dang an hour ago
dofm an hour ago
Also I have survived on too much coffee and probably too many chocolate biscuits. So actually, sorry, on reflection :-) What a day.
dang 43 minutes ago
I appreciate how your excessive-biscuit status has yet to be determined :)
dang an hour ago
quotemstr an hour ago
Unless your position that any statement whatsoever made in the second person that isn't a compliment is then an attack?
San Francisco is a magical place where "you are doing X wrong" without slathering on six paragraphs of fake kindness constitutes some kind of personal attack
dang 42 minutes ago
You can make your substantive points without that, both in San Francisco and elsewhere.
quotemstr 38 minutes ago
He is, in fact, not mitigating the attack, and he is, in fact, by calling his non-workaround a mitigation, encouraging people to do ineffective things instead of patching. These facts remain true in the real world regardless of what you call a personal attack.
And yes, San Francisco has become top of the world for indirect fake kindness that transforms plain factual statements about the world into social offenses.
"The sun is bright. Don't look at it " -- RUDE!
"You might want to consider that the sun might be considered bright to some people and that you might be more comfortable looking at this other cool thing instead. But no pressure" -- gruff, barely tolerable
dang 18 minutes ago
You have a long history of throwing sharp elbows around on this site. You did it just yesterday on an unrelated topic: https://news.ycombinator.com/item?id=50167498.
We've asked you many times to stop. If you would please review the rules at and fix this, we'd appreciate it.
https://news.ycombinator.com/item?id=45089286 (Sept 2025)
https://news.ycombinator.com/item?id=44729387 (July 2025)
https://news.ycombinator.com/item?id=24254142 (Aug 2020)
https://news.ycombinator.com/item?id=22029640 (Jan 2020)
https://news.ycombinator.com/item?id=21104133 (Sept 2019)
https://news.ycombinator.com/item?id=17976632 (Sept 2018)
https://news.ycombinator.com/item?id=17976625 (Sept 2018)
https://news.ycombinator.com/item?id=17791892 (Aug 2018)
https://news.ycombinator.com/item?id=17492560 (July 2018)
InsidiousWombat an hour ago
Just saying "hey blocking multipart uploads can mitigate most of attacks early would save people so much trouble. Of course not every CVE will have workaround but many do and whole secrecy about releasing it is only to benefit of few big tech companies and nobody else
ljm 39 minutes ago
eqmvii 23 minutes ago
esaym 16 minutes ago
amelius an hour ago
For example, when I buy something from a webshop, why does that webshop need my personal information? Why can't I give it a token, which it can then use to send my package, because only the postal system knows the address coupled to the token, etc.
And we should also ban user tracking for advertising purposes, obviously.
zadler 37 minutes ago
alemanek 28 minutes ago
It would completely destroy the data brokers and targeted ad industry but the world would be a better place as a result. Also not going to happen but I can dream.
pmbauer 14 minutes ago
Lonestar1440 22 minutes ago
We'll probably never convince end-users to "vote with their feet" and use Privacy-focused products. But we can absolutely, through legislation or just precedent, raise the Risk profile until it's better to leave the ad revenue on the table and run a private service.
owenpalmer 16 minutes ago
Sargos 11 minutes ago
This is all new and rapidly evolving technology but giving apps / agents / others just the information they need to know while having a credibly neutral, private, and trustless database mediating is a true cypherpunk vision of how the internet should work and it's being built by people with the right ethos and principles to be as reliable, well engineered, and long lasting as the internet itself.
tokioyoyo 6 minutes ago
dannyw 6 hours ago
This is the most surprising part to me. It sounds like Calif saw the leaks, interpreted that as embargo being broken, and then raced to publish their [anime dancing] marketing video? I'd have expected much better.
yreg 6 hours ago
atymic 6 hours ago
bombcar 6 hours ago
xp84 5 hours ago
This reads like some guy tripped and fell on top of his mouse and in so doing, accidentally turned on screen recording, performed the exploit a few times, got the anime girl asset and soundtrack, dropped all of them into Premiere, added the weird effects, rendered the video, and published the video to Twitter. "Ow. What did I fall on? Oh noooo, I broke the embargo!"
Heck of a mistake.
RamRodification 5 hours ago
thayne 3 hours ago
wredcoll 3 hours ago
MallocVoidstar 4 hours ago
0c3ca83 4 hours ago
chinathrow 4 hours ago
joebonrichie 4 hours ago
MallocVoidstar 4 hours ago
The video was posted 44 seconds before that time: https://x.com/lcfr_hax/status/2112906567662399830
This can't possibly be interpreted as some major violation of the embargo, so what are people talking about?
Georgelemental 4 hours ago
nicce 3 hours ago
tclancy 2 hours ago
any_throw777 22 minutes ago
some people are just lacking coordination
lenerdenator 4 hours ago
dang 4 hours ago
PHP 8.2.35 - https://news.ycombinator.com/item?id=50180873 - Oct 2026 (439 comments)
PHP2Shell: AI uncovers critical RCE in PHP - https://news.ycombinator.com/item?id=50180836 - Oct 2026 (146 comments)
PHP session.upload_progress heap UAF (CVE-2026-109618 / -109619) - https://news.ycombinator.com/item?id=50176077 - Oct 2026 (61 comments)
Security advisory: Critical remote code execution vulnerabilities, update now - https://news.ycombinator.com/item?id=50172041 - Oct 2026 (631 comments)
Tell HN: 2x PHP RCE CVEs with CVSS 10.0 Incoming - https://news.ycombinator.com/item?id=50167754 - Oct 2026 (60 comments)
fg137 6 hours ago
> Chainguard unilaterally broke the embargo and published built images ...
Won't be the last time this happens. If there is no consequence of breaking the rules, people will keep doing that.
chrisvls 4 hours ago
eviks 4 hours ago
Tepix 4 hours ago
InsidiousWombat an hour ago
semiquaver 3 hours ago
nicce 3 hours ago
The point of the embargo was to prevent all rumors? But it did not hold.
streetfighter64 2 hours ago
Anyway, GPs point is that even if nobody leaked anything, and the only thing publicly known was the existence of the bugs, people would anyway have been able to find them independently. So what is the purpose of waiting 24h before releasing the patches?
kbenson 2 hours ago
Finding an exploit and publishing is is not against the law. In some cases, publishing immediately is the responsible thing to do. For example, when it's actively being exploited in the wild, and waiting just puts people at risk that don't have any recourse to protect themselves, since they don't know they're at risk. There can be nuance to that as well, but in general, as soon as it's being exploited, anything that makes it harder for end users to a) know there is an exploit, or b) tell if they're susceptible to it (e.g. through a POC) is just taking away people's ability to take the action they deem appropriate.
jopicornell 3 hours ago
If a video is released showcasing the exploit and following mitigation recommendation, PHP should clarify what it is and if the mitigations are recommended or not. From the pre-announcement: > We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.
If no info is released by them, no other party should have released anything. If info is released or leaked from partners or involved parties, you should notify and explain what's going on.
But no, complete silence from PHP news or any PHP community member.
I get that it was a complicated situation, and I think PHP is the "less wrong" party involved, but I think this constructive and external criticism could help in the future. It has been an interesting day (GMT+2 here) and a rollercoaster of monitoring and mitigating without any reliable source.
bawolff 3 hours ago
I have a lot of sympathy for php team - it would be a lot of work to respond to every conspiracy theory on twitter, while trying to get everything ready, in the middle of the night no less.
jopicornell an hour ago
A lot of speculated info was right: the mitigations were mostly right, the video showing exploitation was real and the release of a fixed image was real.
I think if you do a pre-announce, and you say that you could release it earlier or release new information and you don't, and there are reasons to inform your users, then even if it's the middle of the night for you, you should.
As they stated, they are a small team and they have changed their structure, and they are learning and improving. I think if something like this happens, info is vital for us, the administrators of PHP servers
bawolff 8 minutes ago
I would disagree. The mitigation blocked such a small portion of the exploit, i dont think its right to call it "mostly right".
Cthulhu_ an hour ago
Not entirely correct as they clearly announced that they were going to release a fix at a specific date and time; the mitigation doing the rounds was not adequate and if the PHP people republished it, it would lull people into a false sense of security. Overcommunication is also bad, especially if the official platform or the individual members are being watched by tens of thousands of people hungry for news or updates.
They knew (since august, arguably since 2024), they had a fix ready, everything was in place. Except for the untimely / accidental early leaks.
jopicornell an hour ago
But yes, the preannounce was the right move and the leaks were unfortunate, complicating things. But if cloudflare, bunny and other actors start mitigating in their WAF, I think something has gone wrong and, either you act by releasing earlier or calm the waters saying "the exploits are wrong" as per stated in their post, they thought it was the case.
InsidiousWombat an hour ago
jopicornell 35 minutes ago
Tempest1981 31 minutes ago
fooker 34 minutes ago
Everyone in such a ragtag team would have an overlapping day job where the same crisis management needs to happen.
eviks 4 hours ago
> PHP security team, operating on consensus, struggled to choose
What an unfortunate waste of a security audit. (and consensus is an obvious flaw in decision making)
> PHP runs a large share of the web... Yet security work on PHP itself still depends on a small group ...
Another unfortunate big structural issue that's unlikely to change.
Are there structurally much safer ecosystems out there?
gjsman-1000 4 hours ago
nradov 3 hours ago
barelysapient 4 hours ago
When a corporation sponsors the language, such as Java, Go, .Net, there's an inherent economic component which acts as a forcing function.
PHP being a foundation sounds nice. But consensus wasn't strong enough to affect the key outcomes.
rvba an hour ago
making php is the core of (checks notes) php foundation
or is the management full of completely not technical people who use it to boost their CVs?
redox99 3 hours ago
rafram 2 hours ago
(Of course there's Log4shell, but that could've happened to a Rust-based stack too, and might be more likely to, considering the proliferation of deeply-nested dependency trees full of tiny libraries in that ecosystem.)
barelysapient 2 hours ago
Cthulhu_ an hour ago
berkes 3 hours ago
Several attributes make a safer ecosystem. An important one is diversity - technical diversity.
For an interpreted language, the runtime is important. Python has several runtimes, as does Ruby. Javascript also has several, from the few browsers, to node, deno and bun. PHP has for all practical purposes, only one. So if there's a security incident in PHP, it affects almost all users. But when e.g. JRuby has a vulnerability, it will affect only a fraction of the installed ruby applications.
For compiled languages, the tooling, libraries and runtimes is where diversity is important. With e.g. rust, the vast majority of CVEs come from libraries (crates). But since there often are several crates for a single concept, diversity helps mitigate here too.
Cthulhu_ an hour ago
I know you added a caveat and all, but no, PHP has a number of alternative runtimes just like the other languages you mentioned: https://github.com/gakowalski/alternative-interpreters#alter...
But again with all the ones you mentioned, they have a "core" runtime that the vast majority of production apps use, so if NodeJS has a vulnerability it would be just as big.
The interesting one will be whether "boring" ports - like recently Typescript's TSC from Typescript to Go and now to Rust - will be safer for being the same code and logic, converted to another "safer" language (by transpilers or LLMs).
InsidiousWombat an hour ago
any_throw777 19 minutes ago
dalvrosa 3 hours ago
rebeccapowell 13 minutes ago
https://bsky.app/profile/luciferslexicon.bsky.social/post/3m...
ernubufiei 6 hours ago
This is incredibly damming of Chainguard. I struggle to see justification for this, even with the chaos approaching the coordinated release.
blantonl 6 hours ago
yreg 6 hours ago
In their place I would worry that this was the last time anyone shared an embargoed build with them.
dannyw 6 hours ago
Very irresponsible behaviour in my opinion; and if it's a decision made unilaterally by their CEO, probably a breach of their SOC 2 certification. What's next? "$X isn't patching this CVE fast enough, here's a binary blob of our fix, don't worry, we're making this free!"
cryptonym 5 hours ago
That can be for marketing purposes or by mistake. Not sure how to deal with that.
dannyw 5 hours ago
martinjc 5 hours ago
Dont trust us with information lol.
cobolcomesback 5 hours ago
kstrauser 5 hours ago
chrisvls 4 hours ago
eterm 4 hours ago
kijin 5 hours ago
They released some binaries, built for their own docker image based on their own Linux distro. Other people couldn't use Chainguard's "fix" to patch their own systems. The only people who seem to have benefited from the stunt are the hackers who used AI to reverse-engineer the binaries and write exploits.
That was a giant fuck-you to the rest of the PHP ecosystem, nothing more.
gruez 5 hours ago
What was Wiz/OpenAI supposed to do? PHP was already aware of the issue.
bawolff 4 hours ago
[citation needed]
By which i mean, this seems untrue. If you mean the anime video, that is not a leak of a PoC.
jamietanna 3 hours ago
https://www.chainguard.dev/athena
https://www.chainguard.dev/unchained/this-shit-is-hard-build...
Grollicus 6 hours ago
Because if there are already publicly available exploits seen, it makes no more sense to keep holding patches back just so that OpenAI etc. can get a nice press release
gjsman-1000 6 hours ago
1. There was a leak of the pre-announcement
2. Calif sees leak, goes and releases dancing anime girl video before pulling it, goes viral
3. Chainguard sees dancing anime video, doesn't recognize Calif, and thinks the exploit is in the wild
[Edit 3a]: Or alternatively, Calif's leaked video causes the PoC to be found by others by providing enough of a lead
4. Chainguard releases updated binaries thinking it doesn't matter, causing the real exploit to then be found early
5. Which then causes PHP Foundation to basically have a meltdown
Personally I blame Calif for the unprofessional video which absolutely completely looks like some script kiddie and for being too detailed [edit 2: assuming Calif produced it and the anime wasn't a prank edit]. In this case it wasn't just unprofessional fun but may have literally messed up the responsible disclosure.
ebilgenius 6 hours ago
Still not great though.
gjsman-1000 5 hours ago
keketi 5 hours ago
mirashii 6 hours ago
I'm not sure about this part. I saw https://jackalsyn.com/posts/php-up-2026.html going around a bit over 12 hours ago, before the chainguard images went out, and plenty of other chatter of exploitation happening in the wild.
danso 5 hours ago
bawolff 4 hours ago
Hamuko 6 hours ago
john_strinlai 6 hours ago
so, if they saw evidence of exploits in the wild, it is not unusual at all to release the fix.
ebilgenius 6 hours ago
b112 5 hours ago
There is a MASSIVE difference between a small number of people exploiting in the wild, and a few hours after a release a bazillion script kiddies doing so. The move to release and break an embargo was childish, absurd, self-serving, and lacking in all common sense. Not to mention, breaking trust.
I agree with those in this thread who say, never going to do business with them. Ever.
richwater 5 hours ago
I highly doubt their paying customers feel the same way
b112 5 hours ago
As a customer, I'd immediately assume no one in the security community would trust them again, and seek someone else to give my money to. Why pay a) an untrustworthy company who b) now is not trusted by anyone and c) won't ever be able to early release again anyhow? And if anything, are left out of important conversations.
Way to burn bridges. You only get to be an asshat once.
richwater 4 hours ago
TIL observing an exploit in the wild, after the details leaked during the embargo and pushing a fix for your customer is "being an asshat".
dylan604 4 hours ago
I have seen no evidence to back up this claim. Quite the contrary actually.
yardstick 5 hours ago
I would let Chainguard deal with the patches post official release like all other unreliable parties.
lenerdenator 4 hours ago
arm32 6 hours ago
skrrtww 6 hours ago
john_strinlai 6 hours ago
Hamuko 6 hours ago
bcvvvy 6 hours ago
Song is Petite Meller - High Forever (Marlon Hoffstadt Remix). Which is annoyingly catchy
john_strinlai 5 hours ago
thanks.
bcvvvy 5 hours ago
unsnap_biceps 5 hours ago
quietsegfault 5 hours ago
b112 5 hours ago
They're apparently not trustworthy, and behave as children.
john_strinlai 5 hours ago
Hamuko 5 hours ago
>As a result of the leak and pre-announcement around 20:00 UTC, Calif, one of the security firms that had reported the issues mistakenly published a video. It showed their proof of concept working against a number of targets and revealed a few additional, though limited, details about the vulnerabilities.
You can see the same demo video on their site: https://calif.io/php2shell/#php-5-4-0-rce
sippingabonedry 5 hours ago
This industry is full of immature children who cannot keep their mouths shut for 24 hours. They have no clue what massive coordination this requires.
yreg 5 hours ago
numpad0 4 hours ago
kps 3 hours ago
numpad0 4 hours ago
cpa 5 hours ago
arm32 5 hours ago
tonyhart7 5 hours ago
cubefox 5 hours ago
They took it down but someone (Kirill Firsov: https://x.com/k_firsov/status/2112641845926989944) added the anime stuff and reposted it. Totally irresponsible.
Edit: okay he didn't add the anime, but he reposted it.
debugnik 5 hours ago
fatty_patty89 5 hours ago
numpad0 4 hours ago
quietsegfault 5 hours ago
dylan604 4 hours ago
tetha 5 hours ago
I want to go back to talks by bored defcon guys or gals calmly stating how they obtained private keys of a globally trusted CA with just a bit of math. Which, mind you, ate the other part of the teams time.
Now I know how much I hustled today likely due to that atrocity of a video. I think I will take a vacation day and sit in a forest near a river on friday.
corford 5 hours ago
yardstick 5 hours ago
Calif more than Chainguard, but still Chainguard too.
Calif was obviously twitching to claim credit for their findings, and what I find troubling is this eagerness was more important to them than giving users a chance to update their systems.
Even if they ended up waiting only a day post release I would still say it seems a bit too soon. Maybe a week after. Not everyone’s system have aggressive patching schedules and PHP is soo heavily used.
kjs3 4 hours ago
bawolff 5 hours ago
It's maybe not professional to release an omg panic video, but not even remotely the same thing as what chainguard did.
numpad0 4 hours ago
bawolff 3 hours ago
dylan604 4 hours ago
bawolff 3 hours ago
I dont know why the timing of the bug is surprising to you.
tflinton 6 hours ago
Embargos make sense if no one is exploiting it yet, but if its out in the wild, the best path forward is releaseing as soon as possible.
dannyw 6 hours ago
gjsman-1000 6 hours ago
dannyw 6 hours ago
Was there even an incident co-ordinator here? Was any of the parties talking to each other?
arm32 5 hours ago
SiempreViernes 4 hours ago
danso 5 hours ago
bawolff 4 hours ago
nicce 4 hours ago
skrrtww 5 hours ago
"Cloudflare successfully deployed multiple mitigations for all its customers while the vulnerability was leaked before the official release date and we observed attack traffic targeting our customers."
If that's not an in-the-wild exploit, it literally couldn't have been further away than one or two more iterations.
snowwrestler 5 hours ago
From Cloudflare’s perspective, there is no downside to saying what they observed, and deploying defenses.
We may never know if this was actually being successfully exploited prior to patch availability.
charcircuit 42 minutes ago
bawolff 4 hours ago
rskeens 5 hours ago
andix an hour ago
But it's also possible, that some attackers got non-public inside information.
If the embargo is already broken in a meaningful way, it suddenly becomes much less clear if it is still in place after all. Emphasis on >less clear<.
maqnius 4 hours ago
ktbwrestler 4 hours ago
I hope that someone has some sort of a reasonable approach here / I would love to help work on something open source if not
bredren 4 hours ago
PHP2SHELL, in particular, made me expand my weekly security review to include my external network resources.
The natural conclusion for this seems to be realtime monitoring CVE and pre-CVE vulnerability indications in exposed stacks.
jungturk 3 hours ago
Some have free licenses, many don't.
mk89 3 hours ago
Sometimes build time is too slow (e.g., a repo that doesn't receive updates every day or so).
bmurphy1976 3 hours ago
T0Bi 3 hours ago
knowinow 3 hours ago
SoftTalker 3 hours ago
nradov 3 hours ago
ezfe 2 hours ago
nradov 2 hours ago
Cthulhu_ an hour ago
SoftTalker 2 hours ago
But, certainly do your own threat assessment and develop and implement whatever plan works for you.
grumple 2 hours ago
InsidiousWombat an hour ago
berkes 3 hours ago
For my rust applications, I use "cargo audit" which checks all dependencies against the CVEs. For my typescript and javascript applications, deno audit and/or yarn npm audit.
For the rest of the stack `debsecan` does exactly what you want on Ubuntu: report CVEs for installed software.
rcbdev 2 hours ago
yreg an hour ago
Maybe it would be worth it to have an agent that knows your stack, reads the top threads on hn all day long and messages you when it thinks there is something serious going on that could impact you.
andrewaylett 15 minutes ago
I'm not overly keen on the tooling: as far as I can tell the whole industry is prone to flagging false positives as "vulnerabilities" rather than "potential vulnerabilities" and it's a bit too easy to turn those reports into a tick-box "you must update now because the tool says so". But they also do flag true vulnerabilities. And they pay for teams of security researchers to find and fix issues, not least because that's good marketing.
adithyassekhar 5 hours ago
yreg 4 hours ago
doublerabbit 3 hours ago
otterley 2 hours ago
imglorp an hour ago
Well that's your problem right there! There are trillion dollar companies profiting off the back of open source projects without supporting the projects adequately. Why should they be scraping for funding for basic table stakes like audits?
DooMMasteR 3 hours ago
selckin 2 hours ago
bowersbros 6 hours ago
thinkindie 6 hours ago
eqmvii 6 hours ago
Droobfest 6 hours ago
lol768 6 hours ago
emilburzo 6 hours ago
You have your source code public, so you can't commit/push because then you've leaked info.
Your build pipeline is also likely public, so you can't just build from another source code... source.
You can create a private repo, but now you also need to build a private build system.
You don't get the same generous build resources for private repos, so you either:
a) simplify the build to just the essentials
b) pay
Unless you have significant funding, you'll probably go for a).
Now you have to maintain two systems, also with some differences between them.
Plus you need a way to get the build artifacts from the private system to the public one, typically at a fixed point in time.
Any failure/delay (e.g. less powerful build on private repo, errors because you exercise it rarely) causes people to get upset that you didn't respect the announced time.
Maybe you're also using things like image attestation, another can of worms.
modeless 5 hours ago
emilburzo 5 hours ago
But let's go with that scenario, now you have all sorts of problems, from practical to security, like:
- accidentally/maliciously building the wrong thing? there's a patch, people agreed to it, but the wrong commit is built
- building for multiple architectures/versions?
- signing keys on someone's laptop?
- worse, image push/write keys on someone's laptop?
And so on.
modeless 5 hours ago
The problems you bring up here are eminently solvable too. Yes there are many solutions for building for multiple architectures and versions. Cross builds, containers, VMs, or just having more than one computer locally. You can address building the wrong thing with reproducible builds, but for a one off patch like this it's not the most likely problem and relying on a trusted maintainer temporarily during an emergency is better than waiting for a glacially slow cloud build while exploits spread. Pushing builds to the cloud is inherently a cloud step, so it's fine to leave keys for that in the cloud, but there should be a process for publishing local builds and it should be essentially instant when the build is already done.
You should always have a local build process that replicates CI. There is no excuse.
cobolcomesback 5 hours ago
But they had _two months_ to figure out how to overcome them. For them to not have figured out a solution and have pre-built images ready to push as soon as the embargo lifted is ridiculous.
dofm 2 hours ago
inglor_cz 5 hours ago
PHP is written in C, I'd be surprised if similar problems didn't lurk in other places.
Maybe they will construct the private pipeline after this crisis. Millions of websites are probably now waiting for all the downstream Docker images to be built and pushed.
emilburzo 5 hours ago
It would be great, but it's also something to manage. Just keeping it working with all the changes that happen across all projects would be something.
inglor_cz 5 hours ago
But the top 1 percent by usage/downloads, I can imagine, and PHP probably qualifies into that top slice.
yangm97 4 hours ago
Leherenn 3 hours ago
Now of course, there are ways around that if required, but they are, by design, manual, cumbersome and slow. I could not create a release build locally in a few minutes. A few hours maybe if the whole organisation dedicated itself to it.
InsidiousWombat 44 minutes ago
I'd worry more about the fact that essentially publishing binary-first means that it ever gets compromised that makes it easier for attacker to smuggle exploit using "this is security update" pretext.
InsidiousWombat an hour ago
fguerraz 6 hours ago
Being given advance notice of an upcoming security fix is an immense privilege, organisations should turn around quickly when given such information, they shouldn’t be given more than a couple of days to update IMHO, it’s not like the rest of the world can wait.
Scaled 5 hours ago
(It is often much cheaper for an enterprise to just get a long term support contract than to properly upgrade to a modern PHP stack.)
dylan604 4 hours ago
I've experienced similar to this. I know I shouldn't be, but I still get amazed every time I hear that some small company is still using an old DOS machine running core software based on dBase that nobody has any clue on how works and the developer has since moved on to a higher plane. One person told me that they sweat every time the power goes out longer than the attached UPS can run holding their breath that the machine powers back up.
InsidiousWombat 43 minutes ago
5.6 is unsupported. There should be not getting special treatment just because they have massive tech debt
kyriakos 6 hours ago
berkes 2 hours ago
Now I don't know what happened here. Maybe PHP foundation reached out to docker but got no help, maybe they simply forgot about docker as distributor of their software.
dofm 4 hours ago
For all the long-tail users, PHP is a distro package. That route needed the most work instead, and it got it.
berkes 2 hours ago
I'm quite certain that your exact sentiment is why the images weren't updated immediately: I'm afraid PHP foundation doesn't see docker images as a particularly important distribution system.
dofm 2 hours ago
I wouldn't be that certain.
I think it's likely that the vast majority of PHP Docker image downloads are for local development, for one thing.
But nevertheless, it would not come close to the number of websites running PHP from the Ubuntu Server packages. It is absolutely right that the effort was focussed on the distribution route. Because PHP is not "expert" hosting territory; it is still more often whole cloud VMs running the distro packages.
lol768 6 hours ago
Okay, but how close did they get? Were they close enough that a determined actor could've (perhaps using an LLM) managed to get to a functioning exploit?
Grollicus 6 hours ago
bawolff 3 hours ago
nicce 6 hours ago
dannyw 6 hours ago
InsidiousWombat 39 minutes ago
xavdid 3 hours ago
ChrisArchitect 6 hours ago
PHP2Shell: AI uncovers critical RCE in PHP
https://news.ycombinator.com/item?id=50180836
Patch the Planet: global response coordination as agents uncover critical vulnerabilities
https://news.ycombinator.com/item?id=50181175
Upcoming critical PHP security release (CVE-2026-109618 / -109619)
jooops1 3 hours ago
topham 2 hours ago
jooops1 6 minutes ago
ThaJay 2 hours ago
Cthulhu_ an hour ago
jooops1 7 minutes ago
cubefox 6 hours ago
NSUserDefaults an hour ago
Cthulhu_ an hour ago
redox99 5 hours ago
It sounds cliche but yes, they should rewrite PHP in rust or other memory safe language.
cute_boi 5 hours ago
muspimerol 5 hours ago
mbac32768 2 hours ago
I bet that takes a week at most.
system2 an hour ago
Cthulhu_ an hour ago
vaylian 5 hours ago
sevenzero 5 hours ago
TheJoeMan 5 hours ago
InsidiousWombat 36 minutes ago
And for non-malicious content, you can drop file above the upload max limit before user wastes time sending the file.
rectang 3 hours ago
I'm really not sure how you mitigate this issue, other than serving static HTML and reducing the attack surface to cut out dependencies like PHP.
berkes 2 hours ago
Because now a vulnerability in PHP affects practically 100% of the users. But with more diversity, it would affect only a part. And if one runtime proves insecure more often than another one, organizations have a choice to move to an interpreter that better fits their security needs.
pluc 2 hours ago
bombcar 6 hours ago
This is the real story. You ship one of them (the breaking change) with —fuck-my-shit-up or something as a compile time option to switch to the other fix.
cubefox 6 hours ago