Hacker News
points by JLO64 1 day ago | 0 comments
> Upgrading to GitLab 19.3.6 on October 22 didn’t fix the vulnerability. The fix isn’t in GitLab’s own code but in a patch to Ruby, which GitLab applies only in its official packages. Our image used standard Ruby, so it didn’t get the patch.

> The bug is in Ruby’s regular expression engine, so any program that compiles regular expressions from untrusted input is exposed, not only GitLab.

I feel like this era of constant exploits/patches is really bad for those who build from source or make their own images vs those who rely on provided images and upgrade them often. I really can't think of a decent solution for those people other than being plugged in 24/7 to the latest news which is really unfortunate and must be exhausting...

[–] Gigachad 1 day ago
At this point if you are self hosting you should have everything behind a VPN. Only companies with their own security and development teams should be putting things on the public internet.
[–] jamesfinlayson 1 day ago
Gosh I'm at a big company and I'm pretty sure all the self-hosted tools are only accessible through VPN-like tech anyway. The only truly public stuff is Jira, Confluence (which I assume it more to do with Atlassian's pricing of self-hosted) and Sharepoint.
[–] Operyl 1 day ago
Atlassian products (Jira Server) are no longer supported, and their more Enterprise offering dies in 2029, so everything is ending up in their cloud now yeah.
[–] wtch98 19 hours ago
We've just moved from on-prem (protected by MTLS) to on-cloud because of this. I now know why everyone hates jira. The cloud version is so much worse
[–] FuriouslyAdrift 17 hours ago
If you're a Microsoft shop, you can put just about anything behind Microsoft Entra Application Proxy (and also support SSO).

https://learn.microsoft.com/en-us/entra/identity/app-proxy/o...

[–] wtch98 16 hours ago
Or I can (and do) use something good. That doesn't change the fact atlasian no longer support on prem jira.
[–] egeozcan 1 day ago
I know a lot of companies vibe-coding alternatives. I'm not an expert but it's perhaps even illegal for most European companies to migrate any customer data to Atlassian servers.
[–] StableAlkyne 1 day ago
This is something I keep struggling with.

If someone wants to vibe code an alternative to a SaaS tool, my gut feeling is "no, this is bad and it will blow up" as vibe-coded projects tend to do.

But then the alternative is often paying $X million per year for licenses to a half-assed program that hasn't had a UI update since 2005.

I just don't have a good argument on why they shouldn't when the outcome will be just as dogshit, only cheaper and flashier.

[–] ozim 1 day ago
They just started updating the UI and I am pissed off.

I don’t want them to change UI. I have plenty of work to do and have plenty of other tools that I use daily.

I have my workflows, I am swamped with work and now I have to change my workflows because someone changed options in UI where ones that O used are not there anymore.

[–] IlanGR 21 hours ago
I think there's ways to have a solid app by giving ai precise instruction about the architecture it has to follow. Especially by configuring read-only agent for security and quality and builder agents for everything else. It isn't perfect and I wouldn't do critical apps for a company with it but it's solid enough to replace a SaaS tool in my opinion. I think the real subject is wether this vibe-coder knows he'll have to maintain his app...
[–] unrented7977 15 hours ago
I'd pay embarrassing amounts of money for applications which do not get biweekly UI overhauls.

I'm still using the 2024 version of JetBrains IDEs because the UI hadn't changed in over ten years. I quit paying JetBrains when they ripped out the perfectly functional UI and replaced it with a VSCode reskin.

Please, for the love of god, give me software with a consistent UI.

[–] gokulravi992 1 day ago
The argument I'd make isn't about UI or features, it's about who owns security afterwards. The vendor has people whose whole job is patching things like this Ruby regex issue. The internal vibe-coded Jira usually has nobody, and the bugs that bite are boring ones, like a project page that loads for anyone who guesses the ID.

If they go ahead anyway, the ask is just that someone actually owns it after launch, not only builds it.

[–] ozim 1 day ago
Atlassian migrated EU data to EU based servers. I still had to click approve but they did that for me.
[–] egeozcan 1 day ago
Atlassian is a US-parented company and this means that CLOUD act can affect it. Even this only can make it unsuitable. Then there are questions to data-in-transit. Also nothing is legally tested. Vibe-coding an alternative is much safer if you have sensitive customer data (even simple support tickets).
[–] input_sh 1 day ago
Not that this matters in terms of the CLOUD Act, but it's actually an Australian company based in Sydney.
[–] ozim 18 hours ago
Going with this idea further basically all data goes via Microsoft one way or another.
[–] usrnm 1 day ago
The location of the servers matters only if you're trying to prevent physical access, for anything else it's completely irrelevant
[–] griffiths 1 day ago
Can you give more information on "illegal for most European companies" part? Asking for a EU company using Jira :)
[–] Sebguer 1 day ago
This person is just posting absolutely baseless claims, as if Atlassian, a company that basically exists purely on the back of B2B SaaS sales, has not considered EU data residency requirements in their core product offering: https://www.atlassian.com/software/data-residency
[–] dijit 23 hours ago
FWIW nearly every SaaS or IaaS is making bold claims about supporting data sovereignty, but unless it has been challenged in court I wouldn’t put much stock into it.

The fact that Jira/Confluence are being processed by their LLMs puts them in direct legal conflict with several statutes in the EU, its a matter of time for them to get hit by this and I’m betting that they think the fine will be lower than the revenue they acquire for doing it- and they’re hoping they don’t get hit at all.

This seems to be the common case for a lot of the non-EU tech companies, and it seems to be working.

Oracle is currently the market leader in “sovereign” compute for EU governments for example, as ironic as that is.

[–] egeozcan 1 day ago
> This person is just posting absolutely baseless claims

You don't need to be so hostile. I know about the EU requirements but many EU companies have sensitive data on hosted JIRA / Confluence that simply cannot be in the possession of a non-European company. I know because I'm working for one. I cannot even remote-work from outside Europe. Some stuff cannot even leave the VPN. There's also the CLOUD act.

[–] jamesfinlayson 1 day ago
Yeah I thought Jira at least was all built on AWS these days. I've never set up a Jira Cloud instance but I'd be surprised if you don't chose where your data lives.
[–] kenniskrag 1 day ago
In short gdpr compliant means you can configure it but it must not be compliant by default and also there is no guarantee.

They are constantly changing their software and settings. More than once they believed that something is legal but can be risky for the atlassian customer.

For example training AI on metadata which they believe are anonymized but are maybe not enough changed.

Training data or metadata permisson can not be configured on all subscriptions. But as a data processor they must follow the contract otherwise they become data controller.

Also there are risks associated with privacy data framework, cloud act etc. to be non compliant just by data transfers to other countries.

[–] bombcar 1 day ago
This is how SaaS dies, vibe-coded to death.

I’m doing my part!

[–] tallanvor 19 hours ago
It wasn't long ago that companies like Google were advocating for zero trust networks that avoid the need for VPNs!
[–] dewey 19 hours ago
But what they mean by that was that the application (Gitlab in this case) should be behind a IAP proxy (https://docs.cloud.google.com/iap/docs) or something, not that you just put it on the public internet. Also defined here in the zero trust docs (https://docs.cloud.google.com/architecture/framework/securit...).
[–] midtake 14 hours ago
Zero trust is more like you need strong authentication like FIDO on the webapp even if it's behind the VPN, not that you get rid of defense in depth.
[–] ifwinterco 17 hours ago
Zero trust ≠ publicly accessible.

And zero trust makes sense, once one service behind a VPN is compromised attackers can potentially move laterally, zero trust mitigates that

[–] theamk 18 hours ago
that works too

For personal services, even something as simple as HTTP basic auth on the webserver dramatically reduces the attack surface by blocking all probers and drive-by attacks.

[–] milkshakes 1 day ago
this is a really bad look in 2026 imo

https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-fo...

> We have not requested CVE identifiers in Ruby for these fixes, at least for now.

> Ruby has generally considered it unsafe to compile and use a regular expression created from untrusted input. We stated this in the advisory for CVE-2022-28738, where we nevertheless treated a double free in Regexp compilation as a vulnerability after a comprehensive assessment. We did the same for CVE-2024-27282.

[–] couchand 1 day ago
It's a Bad Idea (TM) to compile a regular expression from an untrusted input.

Despite what anyone would try to sell you, a regular expression is a programming language. It's Always A Bad Idea (TM) to compile untrusted input into any kind of programming language. Don't string concatenate SQL queries, eval is evil, it's all the same idea.

[–] Blackthorn 1 day ago
A regex might be a programming language, a proper regular expression (which there are libraries for, like Google RE2) is just a regular language and I don't think you can even charitably call that a programming language.
[–] luhn 15 hours ago
What's the difference between regex and regular expression? I always understood the former to be an abbreviation for the latter.
[–] OJFord 15 hours ago
It is but what they mean is that many implementations (e.g. PCRE) are not actually regular languages, they're more powerful: https://www.npopov.com/2012/06/15/The-true-power-of-regular-...
[–] Gigachad 22 hours ago
Despite this Ruby should have requested CVE numbers. They created a patch that was available to install and prevented this attack. CVE numbers would have triggered automations to update Ruby in everyones systems.
[–] rendaw 1 day ago
Why is it a bad idea, for either of those? Fundamentally?
[–] quibono 22 hours ago
Yes, after all there is no distinction between data and code since they're the same thing when it comes down to the bytes in memory.
[–] milkshakes 1 day ago
> It's a Bad Idea (TM) to compile a regular expression from an untrusted input.

i agree with you!

nevertheless,

> where we nevertheless treated a double free in Regexp compilation as a vulnerability after a comprehensive assessment

not sure what sort of comprehensive assessment is still called for at this point?

[–] weinzierl 1 day ago
At the beginning of the industrialization there were many accidents with steam boilers.

We've git that under control with regulation and the help of organizations, some of which still exist today.

This "era of constant exploits/patches" is not normal and can't go on. Currently it is an ongoing cat and mouse game, but it doesn't have to be.

[–] bombcar 1 day ago
What’s interesting with steam boilers and other types of OSHA related injuries is that it’s not enough that the person who’s doing the stupid thing dies: you have to enforce it even more and even higher. People won’t value their life.
[–] cowlevel 17 hours ago
Usually they have a choice between risking their life in a boiler explosion or risking their life in homelessness.
[–] alansaber 15 hours ago
This seems much more fundamental, less social, though.
[–] esseph 1 day ago
> This "era of constant exploits/patches" is not normal and can't go on. Currently it is an ongoing cat and mouse game, but it doesn't have to be.

Security is always reactive by its very nature. You can do proactive things, but you will always be reactive to novel attacks.

Expect everything to have various levels of rolling upgrades, and soon. That's a lot of work.

[–] weinzierl 1 day ago
We don't do rolling upgrades on steam boilers nor do we do it on our door locks. Nothing is perfect, we just need good enough and we are currently far away from good at all.

When it comes to software it hasn't always been the case. Before the Internet software was considered something stable and even now there are areas, like functional safety critical software, where this is true to some degree.

It's not that it can't be done.

It used to be expensive to a certain extent it will stay expensive, but modern languages, tooling and formal methods will hopefully mitigate that enough.

[–] cowlevel 17 hours ago
Most door locks are easy to pick btw. They're not protecting you with technical excellence, they're protecting you by making the thief spend a little time so the neighbours might see him.
[–] esseph 16 hours ago
> but modern languages, tooling and formal methods will hopefully mitigate that enough.

No, they won't :) This is the world now.

[–] edoceo 1 day ago
The PHP2Shell one was both lucrative and exhausting. I maintain a bunch of legacy PHP apps.
[–] jayd16 1 day ago
Dynamically linked dependencies? CI and semver aware automatic dependency tracking? Automatic updates pointed at personal app depots?
[–] 0x1F8B 1 day ago
> I really can't think of a decent solution for those people other than being plugged in 24/7 to the latest news which is really unfortunate and must be exhausting

The future is near constant burning of tokens in your software factory to do this automatically. The labs create the increase in demand for their own product.

[–] pixl97 1 day ago
Turns out building the world on an infrastructure of lies has finally caught up with us.

The way LLMs are developed now is but one possible future we could have experienced. Imagine the future where the LLMs were built by a few governments with black budgets and hidden until a war or some other large event broke out. Then suddenly most of the computers and digital infrastructure shits itself as everything goes wonky.

At least this way we get to see that a shared global infrastructure built on the idea that security is someone else's problem was a really bad idea and we might have enough time to fix it or pull enough plugs we don't go back to the dark age.

[–] Gigachad 1 day ago
That's a for now problem. The future is probably less software surface area exposed to the internet, the removal of unsafe languages from software exposed to the network, services like Cloudflare deploying firewalls to detect exploit attempts, and services that can keep a live database of currently active bots and residential proxies to IP block them.

Alongside the current scanning and patching of software.

[–] 0x1F8B 1 day ago
I don't disagree. Also probably more logs and more metrics since LLMs can scale instrumentation, signals and auditing far beyond what humans could ever process, which in turn, more tokens. Probably larger Datadog bills too.
[–] esseph 1 day ago
> Probably larger Datadog bills too.

I don't think that lasts, I've seen at least 5 viable replacements now. All internal projects at major US companies.

[–] devrwoody 21 hours ago
Us too. My new company find themselves paying more for DD than hosting resources they monitor. That’s ending soon!
[–] rconti 1 day ago
The world has changed but 15 years ago we thought it was utterly insane to just pull whatever $latest from $internetsite.probablytrusted.org as part of your build and deployment process.
[–] Melatonic 23 hours ago
Still not insane
[–] esseph 1 day ago
It's not maintainable unless you autobuild, and yes, upgrade treadmill.
[–] Gigachad 1 day ago
The patch for Ruby came out 6 days ago. Most Rails apps do not use the Ruby from the package manager but have a hardcoded version in the repo. So unless you have developers releasing a PR to update ruby the moment it comes out, you aren't safe.

This might feel like a "Yeah obviously" moment, but the fact is that very few Rails apps are running the latest ruby release the moment it comes out.

[–] edoceo 1 day ago
True for many others right? PHP, Python, JS, Lua..what if some finds an old exploit in Perl, oh heck.
[–] awesome_dude 1 day ago
> build from source or make their own images vs those who rely on provided images and upgrade them often.

I mean - this incident brings it into sharper focus - but it's always been thus.

As a Go developer I often tell people "Be wary of vendoring, you are creating a cache of dependencies that need to be managed and maintained"

Or people that "pin" dependencies, they face the same difficulty.

Why not just use "official" (in this case) images - sometimes they lag too - hell, most Linux distributions lag so much with Go compiler packages that, again, I routinely tell people to avoid them in favour of watching the Go official page

[–] cpuguy83 19 hours ago
I'm curious what you mean about vendoring.

In go, vendoring dependencies just copies the deps out of the module system into the local tree and it's managed the same as not vendoring. It won't even build of the go.mod has changed without also updating the vendor tree.

[–] awesome_dude 14 hours ago
Right - a copy is a cache, and you have to manage that; when to update it, when vulnerabilities are discovered in the deps you have copied, it's up to you to change the version in your cache.