MIDREAL
Menu

GitLab 19.6.0 is out and still vulnerable to Ruby2Shell and NGINX2Root

29 points | 3d ago | Discuss on Hacker News | Back to Radar

Comments

pixl97 3d ago on HN
"Application security: Taking days when minutes matter" --Software mantra for 2026.
harshitmaurya 3d ago on HN
too many 2shell these days
my-huge-pony 3d ago on HN
Because every memory corruption vulnerability is now called a RCE. And well, sometimes it is, writing a POC is a tedious work so historically researchers just reported it as memory safety issue and moved on.
htrp 3d ago on HN
is this only for self hosted?
pFalken604 3d ago on HN
The pre-release info on 19.6.0 says that it addresses nginx2shell: https://docs.gitlab.com/update/versions/gitlab_19_changes/#n...

There is also a workaround to disable http2 from NGINX and make that part safe. I'm leaving HTTP2 disabled for the forseeable future. - edit /etc/gitlab/gitlab.rb - add lines: gitlab_rails['nginx']['http2_enabled'] = false nginx['http2_enabled'] = false - save and run: gitlab-ctl reconfigure - finally run: gitlab-ctl restart nginx

There is no workaorund for Ruby2Shell though :( As it was just dropped last night, well after they would have started testing etc for 19.6.0, it's no surprise it's not in there. Also, since they konw 19.6.0 has Ruby2Shell in it, it's not much surprise they haven't been promoting it, or that they are scrambling.

GitLab is such a huge beast that it can't be quick to get changes made and run through tests for everything. Who knows what else the runtime update caused to fail. I imagine they are working on it.. meanwhile I firewalled the web of any of the ones I take care of. IMO having gitlab open to the public web is insanity personified.. I sure wouldn't do that with my instance!

hoechst (author) 3d ago on HN
> The pre-release info on 19.6.0 says that it addresses nginx2shell

no, that's about different CVEs

wifijacob 3d ago on HN
gitlab 19.6.1 contains ruby 3.3.14 which fixes ruby2shell, but it still ships with nginx 1.31.7.
sarveshai23 40h ago on HN
Did u check if turning off HTTP/2 blocks only 2 out of 5 NGINX2Root CVEs ?

Any admins using Omnibus, with HTTP/2 disabled, did it broke any of the gRPC or GIT-over-HTTPS or container-registry in practice?

Comments are loaded live from Hacker News and are not stored by Mid or Real.