[19.2] Bump Ruby to 3.3.14
What does this MR do and why?
Backport of !3310 (closed) to 19-2-stable. Bump Ruby to 3.3.14.
These are security releases that fix seven issues in the regexp engine and in string case conversion. Some have public RCE proofs of concept. See the Ruby advisory.
Ruby 3.3.13 and later include the regexp patches this branch carried, so they no longer apply to 3.3.14. The matching GitLab stable branch still builds CNG with Ruby 3.3.11 (its RUBY_VERSION_DEFAULT) in its end-to-end tests, so this MR moves the patches to gitlab-ruby/patches/3.3.11/ instead of deleting them, the same approach as !3323 (merged). apply_ruby_patches.sh applies that directory only for Ruby 3.3.11.
I ran this branch's shared/build-scripts/apply_ruby_patches.sh against clean Ruby 3.3.14 and 3.3.11 sources, and every patch applied on both.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
- This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch.
- The original MR has been deployed to GitLab.com (not applicable for documentation or spec changes).
- This MR has a severity label assigned (if applicable).
Note to the merge request author and maintainer
If you have questions about the patch release process, please:
- Refer to the patch release runbook for engineers and maintainers for guidance.
- Ask questions on the
#releasesSlack channel (internal only).