[CLSA-2026:1786353212] alt-ruby31: Fix of CVE-2023-28755
Type:
security
Severity:
Moderate
Release date:
2026-08-10 09:13:43 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.el9.x86_64.rpm
    sha:94980312aa74cc8785f037ffc25672ac4c67b1512acbbd856ca375e8044b6e9a
  • alt-ruby31-bundled-gems-3.1.7-12.el9.x86_64.rpm
    sha:e2fbf0127248dbe548d2fbccc35469a495a6e19ba13dd86de6c56396a0b5ae5e
  • alt-ruby31-default-gems-3.1.7-12.el9.noarch.rpm
    sha:6f908480fb6cf6259d3af8d7b4b6cd8f489021217ab4772ff5ac4cfdb4215c3d
  • alt-ruby31-devel-3.1.7-12.el9.x86_64.rpm
    sha:7f604b39edf040161488206f030e61c5bd70b89007fd0a16f4b95dbfacc08e66
  • alt-ruby31-doc-3.1.7-12.el9.noarch.rpm
    sha:5faffbbe312441da366dd34e33fd74c0fb697aa5c561948cbb34f67892520128
  • alt-ruby31-libs-3.1.7-12.el9.x86_64.rpm
    sha:3a06b19ba4ee0c6801015212a8739db24abadf3940770e8af9a87a3de2b54a10
  • alt-ruby31-rubygem-bigdecimal-3.1.1-12.el9.x86_64.rpm
    sha:cc07e14dd94786e19e092427174913eedd0ec4d535f88e21928b157770f92083
  • alt-ruby31-rubygem-bundler-2.3.27-12.el9.noarch.rpm
    sha:89daed60a1e976f7e604db235fbd553a2f764fdd2aa0c0503c5f8a171c2194ea
  • alt-ruby31-rubygem-io-console-0.5.11-12.el9.x86_64.rpm
    sha:0b1f90ccdb86544803f387f45123f1417c2bf2cd82a8d7bf0a3be99a0690ca75
  • alt-ruby31-rubygem-irb-1.4.1-12.el9.noarch.rpm
    sha:676651ff66dc6310a1e517b95c2b5edcf42dae3b2a91ef4831c1a794eaa3e37e
  • alt-ruby31-rubygem-json-2.6.1-12.el9.x86_64.rpm
    sha:e4689b0c2a8965f6bf9df684b90863da911e801b5014943e0b44fe73663c623a
  • alt-ruby31-rubygem-minitest-5.15.0-12.el9.noarch.rpm
    sha:dc2143a2f5ecf618a0e0d96f8766196c39101ac9b4df0f1fe6982bef2ee5928c
  • alt-ruby31-rubygem-power_assert-2.0.1-12.el9.noarch.rpm
    sha:8d136be99225bd98d7c202b2d0b1b7b48c0071151bce0fa814ec9450f9816fb9
  • alt-ruby31-rubygem-psych-4.0.4-12.el9.x86_64.rpm
    sha:7fa049e336597b807dbc8ad526797697d31e90b28b00bcae16cb9d619c9acd02
  • alt-ruby31-rubygem-rake-13.0.6-12.el9.noarch.rpm
    sha:43710117e9684301afb274da0af50a550df126c0f6ebf7383c633cd27899f026
  • alt-ruby31-rubygem-rbs-2.7.0-12.el9.x86_64.rpm
    sha:637a58ba0fc6b4e281323439b563332005d1def77d452cefb76f0c9d52889659
  • alt-ruby31-rubygem-rdoc-6.4.1.1-12.el9.noarch.rpm
    sha:b65d72cf8b5dbc4c579eceb0aa141a7f617a2464f5d1ad1eb33908456c944db7
  • alt-ruby31-rubygem-rexml-3.3.9-12.el9.noarch.rpm
    sha:a708d1d399bf567d3a54bb544caf774f5d543f72c544455c0b1b6dd92ad68d9b
  • alt-ruby31-rubygem-rss-0.3.1-12.el9.noarch.rpm
    sha:210d1f3d93ec7e6b8962a7719d18643a4ef6c043de3f43e7a55d9456d3163253
  • alt-ruby31-rubygem-test-unit-3.5.3-12.el9.noarch.rpm
    sha:70c62e5915b9fe4b02e4a6929cbe780b62963aedf904fda2708b3f78892460db
  • alt-ruby31-rubygem-typeprof-0.21.3-12.el9.noarch.rpm
    sha:9767f8bb437eec06f9079422500d7efd7b1639e7746b12e2f0ad058090f2ff52
  • alt-ruby31-rubygems-3.3.27-12.el9.noarch.rpm
    sha:57016007a0f15e3bc6e09791b90a896a603136f7832821434ebbea42385c1c21
  • alt-ruby31-rubygems-devel-3.3.27-12.el9.noarch.rpm
    sha:a12de9961846db69fc6cb4da3a631b4df21a3ddfd8486b91f5173cb602bb466b
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.