Determine Ruby Version in Images (regular expression cve)

AI-generated summary

The discussion focuses on how to check the current Ruby version used in Discourse Docker containers and the status of recent CVE patches. ecki initially asked how to verify the Ruby version and whether recent regular expression CVEs were addressed. merefield responded that the version is defined in the image/base/Dockerfile within the discourse_docker repository.

RGJ confirmed that the first set of CVEs was addressed by updating Ruby to version 4.0.9. After ecki noted they didn’t see an update in the Dashboard, cquest mentioned new CVEs fixed in Ruby 4.0.10. RGJ informed that the Discourse team had already merged this fix into the discourse_docker repository, advising self-hosted users to rebuild from the command line. Finally, merefield added a reminder for users with a two-container setup to perform a git pull to fetch the latest changes before bootstrapping.

Hey, whats the easiest way to see in Github whats the current Ruby version in containers is supposed to be for discourse?

IS this issue already addressed in them? Regexp compilation fixes related to GitLab’s CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 | Ruby

From the Dockerfile in discourse_docker, e.g.:

That issue has been addressed last week :+1:t3:

Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264 | Ruby → 4.0.9 has the patches

Hm ok, I did not see an update in the ESr but maybe the base image changes are not included in the Dashboard. I just run the rebuild now. Thanks

New CVE un Ruby… fixed in 4.0.10

Any updrade plan available for Discourse ?

That issue has been addressed by the Discourse team earlier today Update Ruby to 4.0.10 and backport six NGINX security fixes (#1164) · discourse/discourse_docker@400b616 · GitHub

Just rebuild from the command line if you’re self hosted.

And a reminder to those with two container setups: you need to perform a git pull if you are only bootstrapping :slight_smile:

Sidenote: crazy times for vulnerability discovery