Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

GitLab 19.6.0 is out and still vulnerable to Ruby2Shell and NGINX2Root

25 points by hoechst about 19 hours ago | 7 comments | View on ycombinator

pFalken604 about 16 hours ago |

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!

wifijacob about 3 hours ago |

gitlab 19.6.1 contains ruby 3.3.14 which fixes ruby2shell, but it still ships with nginx 1.31.7.

htrp about 18 hours ago |

is this only for self hosted?

pixl97 about 19 hours ago |

"Application security: Taking days when minutes matter" --Software mantra for 2026.

harshitmaurya about 18 hours ago |

too many 2shell these days