[CLSA-2026:1786352087] alt-ruby31: Fix of CVE-2023-28755
Type:
security
Severity:
Moderate
Release date:
2026-08-10 08:54:59 UTC
Description:
- CVE-2023-28755: fix ReDoS in the bundler-vendored uri RFC3986 parser (lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb, Bundler::URI 0.10.1) by clamping the unbounded quantifiers in RFC3986_URI and RFC3986_relative_ref to their possessive forms; backport of upstream ruby commit 14f025a7 (URI 0.10.0.2 for bundler) - The same patch carries the two-part follow-up hardening that upstream ships together (both dated 2023-04-22, HackerOne #1958260), covering the per-component validation regexps the first fix left unclamped: rfc3986_parser.rb gets a possessive leading whitespace run in default_regexp's PORT entry (upstream ruby/uri commit 9d7bcef1), so an attacker-supplied port assigned via Bundler::URI::Generic#port= (check_port) no longer goes quadratic; and rfc2396_parser.rb gets a possessive leading whitespace quantifier on the ABS_URI and REL_URI patterns, '\A\s*' -> '\A\s*+' (upstream ruby/uri commit 9010ee25), so Bundler::URI::RFC2396_Parser#split / #parse -- reached via the public Bundler::URI::DEFAULT_PARSER and Bundler::URI::Parser constants -- no longer go quadratic on crafted input with a long run of leading whitespace. Both parsers of a uri copy are hardened together; patching only one would leave the copy half-fixed - The primary uri default gem (0.12.4) was already hardened upstream in both parsers and is untouched, and the vendored VERSION_CODE stays 001001 so the build-time %{bundler_uri_version} assertion keeps passing
CVEs fixed:
Updated packages:
  • alt-ruby31-3.1.7-12.el8.x86_64.rpm
    sha:df922d76e0f8cdcfcece7b5afd59eb6b40d372c5b30764f99e0eaa575e1ba0e5
  • alt-ruby31-bundled-gems-3.1.7-12.el8.x86_64.rpm
    sha:32df82cb9a30c6ce61c330ea98b5e58cd3b754252c7c4d48736cb7992e503bc1
  • alt-ruby31-default-gems-3.1.7-12.el8.noarch.rpm
    sha:fc6bc7cf58e8e40d6b244fab844dbf9a8f8b426b677ccb9e5d6a7c7670b0a7fa
  • alt-ruby31-devel-3.1.7-12.el8.x86_64.rpm
    sha:dc0b46e8443fc8fab29dfd600b81edb7fe10b918f0a0a150b658c5659104f901
  • alt-ruby31-doc-3.1.7-12.el8.noarch.rpm
    sha:b530c309446b9a5d98444ddcec6cd9ff1e4fbf5b5fce9ed42922c6304a110a9d
  • alt-ruby31-libs-3.1.7-12.el8.x86_64.rpm
    sha:6d87a3ce1200c736288189e9a758fbc5b8e8b6909cae133982c068c58df7ad1f
  • alt-ruby31-rubygem-bigdecimal-3.1.1-12.el8.x86_64.rpm
    sha:3edaa4abdb36d91e55844ca48bd6fbe83bbdb6f45f6975390896f008d16c7375
  • alt-ruby31-rubygem-bundler-2.3.27-12.el8.noarch.rpm
    sha:f68a21a4d29dcc3db3cf95421933b38164af8a146e83072385e7e7112ba45da7
  • alt-ruby31-rubygem-io-console-0.5.11-12.el8.x86_64.rpm
    sha:19de24902b5c6e29100199e028fae9a570a4d0add9d38196157313caea58a4b5
  • alt-ruby31-rubygem-irb-1.4.1-12.el8.noarch.rpm
    sha:1c22552772e114e5d7e1f6a8ebf7d9ce432d575180c4bbd25673e4aff898f5f0
  • alt-ruby31-rubygem-json-2.6.1-12.el8.x86_64.rpm
    sha:09466dda532eef82959f911c90ec81718d9f2524fab7001025f3c90adb786406
  • alt-ruby31-rubygem-minitest-5.15.0-12.el8.noarch.rpm
    sha:cbae7507843aa3241e10a7ceff8915b9d383e42a51c2b7984afe70c92c7dd87d
  • alt-ruby31-rubygem-power_assert-2.0.1-12.el8.noarch.rpm
    sha:b53e4df6e6a377452186d3ce44aa774f6ff003c4323e0674a999ab76cf513a7d
  • alt-ruby31-rubygem-psych-4.0.4-12.el8.x86_64.rpm
    sha:266f420bd85b776d84b7d058275154f9236d1bedb3668674e657dc986debb167
  • alt-ruby31-rubygem-rake-13.0.6-12.el8.noarch.rpm
    sha:4161e7f39c81c70d9db4b681bd65cfe4d9cac1d4fdf998a07a8324caad660bb4
  • alt-ruby31-rubygem-rbs-2.7.0-12.el8.x86_64.rpm
    sha:7d34d8882acac3a18af1c21220f06fbf9d39b8adff0fad0356f807d444a63c95
  • alt-ruby31-rubygem-rdoc-6.4.1.1-12.el8.noarch.rpm
    sha:c46fa376d59d524d21ab48f0226db13945e66ad469c146ef8d9feafd389ad55c
  • alt-ruby31-rubygem-rexml-3.3.9-12.el8.noarch.rpm
    sha:2c2542ce443d68d93dfd111ed65651e8b17d540f5ad463b66f7f1b66e708dd53
  • alt-ruby31-rubygem-rss-0.3.1-12.el8.noarch.rpm
    sha:edab89f6cf08209fe9e0ab260f13629229e7c9f9fc190ff0f5736dc875c73231
  • alt-ruby31-rubygem-test-unit-3.5.3-12.el8.noarch.rpm
    sha:f117a5503d9eddf63420cb978b6420af517c571b4dd6b304d8d0b92b923e0ba8
  • alt-ruby31-rubygem-typeprof-0.21.3-12.el8.noarch.rpm
    sha:5cc8191d33eaf099eb0c52c0e412babb6caa12aaf48894d210885192e56febb2
  • alt-ruby31-rubygems-3.3.27-12.el8.noarch.rpm
    sha:d499c58f4e0d275d7cdfa20b1ad84dd0cc51a3f9e13c2b84b81a51a7964a0dba
  • alt-ruby31-rubygems-devel-3.3.27-12.el8.noarch.rpm
    sha:06f6709c95c15cbc62a3b541a5cde9128f68e38c01b9a5e041f0b38421460496
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.