[19.3] Bump Ruby to 3.3.14
What does this MR do and why?
Backport of !3310 (closed) to 19-3-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.
The matching GitLab stable branch still builds CNG with Ruby 3.3.12 (its RUBY_VERSION_DEFAULT) in its end-to-end tests, but the 3.3.13 bump removed the regexp patches that 3.3.12 needs. This MR restores them in gitlab-ruby/patches/3.3.12/, the same approach as !3323 (merged). apply_ruby_patches.sh applies that directory only for Ruby 3.3.12.
I ran this branch's shared/build-scripts/apply_ruby_patches.sh against clean Ruby 3.3.14 and 3.3.12 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).