ruby:2.5 security update

エラータID: AXSA:2025-9949:01

Release date: 
Thursday, May 22, 2025 - 18:12
Subject: 
ruby:2.5 security update
Affected Channels: 
Asianux Server 8 for x86_64
Severity: 
Moderate
Description: 

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

Security Fix(es):

* oniguruma: integer overflow in search_in_range function in regexec.c leads to out-of-bounds read (CVE-2019-19012)
* rubygem-bundler: unexpected code execution in Gemfiles (CVE-2021-43809)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2019-19012
An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.
CVE-2021-43809
`Bundler` is a package for managing application dependencies in Ruby. In `bundler` versions before 2.2.33, when working with untrusted and apparently harmless `Gemfile`'s, it is not expected that they lead to execution of external code, unless that's explicit in the ruby code inside the `Gemfile` itself. However, if the `Gemfile` includes `gem` entries that use the `git` option with invalid, but seemingly harmless, values with a leading dash, this can be false. To handle dependencies that come from a Git repository instead of a registry, Bundler uses various commands, such as `git clone`. These commands are being constructed using user input (e.g. the repository URL). When building the commands, Bundler versions before 2.2.33 correctly avoid Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (`-`) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. Since this value comes from the `Gemfile` file, it can contain any character, including a leading dash. To exploit this vulnerability, an attacker has to craft a directory containing a `Gemfile` file that declares a dependency that is located in a Git repository. This dependency has to have a Git URL in the form of `-u./payload`. This URL will be used to construct a Git clone command but will be interpreted as the upload-pack argument. Then this directory needs to be shared with the victim, who then needs to run a command that evaluates the Gemfile, such as `bundle lock`, inside. This vulnerability can lead to Arbitrary Code Execution, which could potentially lead to the takeover of the system. However, the exploitability is very low, because it requires a lot of user interaction. Bundler 2.2.33 has patched this problem by inserting `--` as an argument before any positional arguments to those Git commands that were affected by this issue. Regardless of whether users can upgrade or not, they should review any untrustred `Gemfile`'s before running any `bundler` commands that may read them, since they can contain arbitrary ruby code.

Modularity name: "ruby"
Stream name: "2.5"

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. rubygem-abrt-0.3.0-4.module+el8+1872+f9fcc480.src.rpm
    MD5: bf410cb4f55f5edb44fd43114765c69e
    SHA-256: 991ccff48d7c58562f8c9f12a079dc6b2552c0aae95a671a98ca6184234609e5
    Size: 16.03 kB
  2. rubygem-bson-4.3.0-2.module+el8+1872+f9fcc480.src.rpm
    MD5: ab3974b50ff2f1ae7d866cbfd262ef01
    SHA-256: 97c73d561f85198c94a5b63abe3617c8132db4aa1770e07b37531c800450f2a4
    Size: 90.07 kB
  3. rubygem-bundler-1.16.1-5.module+el8+1872+f9fcc480.src.rpm
    MD5: deab7a54336138f4ee7906d9a2106e76
    SHA-256: da273b10111f333461c8a9958607ab44d1271af17e097e852474e0961609c84f
    Size: 14.64 MB
  4. rubygem-mongo-2.5.1-2.module+el8+1872+f9fcc480.src.rpm
    MD5: 719551909d7c3c323a3aed014e459f48
    SHA-256: 8c96da32246e8e67dd059cc2c97f2bd0969b42ebc1592acad6e29d21f2c034ce
    Size: 338.58 kB
  5. rubygem-mysql2-0.4.10-4.module+el8+1872+f9fcc480.ML.1.src.rpm
    MD5: 4619c5e2c64f2898f5a76e1a43a105d6
    SHA-256: b2cb3b026d41af087aeefc39823fc5fcbd435bf841e297155b3a5142084587d0
    Size: 108.28 kB
  6. rubygem-pg-1.0.0-3.module+el8+1872+f9fcc480.ML.1.src.rpm
    MD5: d67645d0e30a83a7a221abf2d67c9357
    SHA-256: f4065d842191b37088ceef233df7c563e90eb4300ffb40f1c1af8742fb354976
    Size: 219.13 kB
  7. ruby-2.5.9-114.module+el8+1872+f9fcc480.src.rpm
    MD5: ebe57038170c674879ed9bff6e01cc55
    SHA-256: df7019c65b52102efd42c360eb52c201250adbf16740b413ea1724f76d5bf5f2
    Size: 10.97 MB

Asianux Server 8 for x86_64
  1. ruby-2.5.9-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: a0510c11f52986f3428f0d0128dc792a
    SHA-256: e64d5593360b8844dcca54960cb347d6970be8a468400e078b2203496b8571c9
    Size: 87.61 kB
  2. ruby-2.5.9-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 31974cc4d2a0e0fea2639aff037dcf20
    SHA-256: 0dde72a83fa4c11ca2bde31a7a4cd1ef097aafda911bb01d71439c25ef76cd31
    Size: 87.49 kB
  3. ruby-debugsource-2.5.9-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: 09542d79381b3c14036c746c0c5a3beb
    SHA-256: bdcc416a89b330718fc995e274cd833b338cb2b6928fae1125730220e6fd749e
    Size: 3.68 MB
  4. ruby-debugsource-2.5.9-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: c9e14a7b8a57e33ea0653fd3f7d1d20e
    SHA-256: e7d20162997ffedade89bc7790ade372c9040f99b78d3df6fb535ac071967bc2
    Size: 3.68 MB
  5. ruby-devel-2.5.9-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: b6da5bdbb5f77dc024d9cfc7ba247f46
    SHA-256: abdce10bdb29882a6344163ce86142287ac7c72912cdd77d4676e4d8d0fa4330
    Size: 126.92 kB
  6. ruby-devel-2.5.9-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: f47bec627c9b64c59391d044ad178dd1
    SHA-256: 29d2834ccabb31c60f9c9cb549c78d21f106d9d00857b9528038c1a7160c43ff
    Size: 126.90 kB
  7. ruby-doc-2.5.9-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: def504937516c8fce93b7e2fdf196405
    SHA-256: a94ab907c37608226b5e7ae2826ce94ea46bb4b5dd8c137425d8c0c968e0631e
    Size: 5.34 MB
  8. rubygem-abrt-0.3.0-4.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 1ebce47105a029cb55aea4e1ee71234b
    SHA-256: 5be32ed820f4ca16cc660c5649a40e38d5e3752c44ded94a6a8d6b5ecfafd72e
    Size: 12.49 kB
  9. rubygem-abrt-doc-0.3.0-4.module+el8+1872+f9fcc480.noarch.rpm
    MD5: e701600973c4a47a55f45b659a015421
    SHA-256: 42e6fa7a30fbd323d293c56da7bef46f7045a77bc28fee9731b9d7b742c58fa3
    Size: 198.15 kB
  10. rubygem-bigdecimal-1.3.4-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: 5dd6fe5607762f8f81875950bbaac480
    SHA-256: cc9d39288ba6d25a95bd354a616b6cc4bb6ae248519e27e6663a8c722687fc96
    Size: 100.99 kB
  11. rubygem-bigdecimal-1.3.4-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 2df136d8615b6f65e8eec3a535047f61
    SHA-256: 4d1377f87d267eea57947c8f70a5bcf70056c3d2beface7c0430cec8303b8eae
    Size: 98.16 kB
  12. rubygem-bson-4.3.0-2.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: ccb64fd48e35d6659ce16fb5a863678b
    SHA-256: 0657cc89e6393158e0740103feb20daef78cba32e05041a8d5a8d7fdfeb3fc11
    Size: 53.39 kB
  13. rubygem-bson-debugsource-4.3.0-2.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 773b175ed9e67d703391cb61ed7519a4
    SHA-256: cfa8ef825cdd6d1447f1b89015fb7489a782b27df00f031abf63cef71678352f
    Size: 19.73 kB
  14. rubygem-bson-doc-4.3.0-2.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 6ccb9686fa306cd34a72090dfb768584
    SHA-256: 882bd64bfcc0451b088da5cf45df58f764a15d6de36967a566833463df218abd
    Size: 373.79 kB
  15. rubygem-bundler-1.16.1-5.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 735999c67a9a4d9171ffbaa9f3341d4c
    SHA-256: 7c55914b20dacd8ebe0b61b71e8f5a9a2b487d956cebfa8db5de7bd70e9f9b74
    Size: 351.97 kB
  16. rubygem-bundler-doc-1.16.1-5.module+el8+1872+f9fcc480.noarch.rpm
    MD5: a2586b7b71c3a67ad1eb47552a2322ee
    SHA-256: 9e2a89cb12a3b35dd5662030ec0c3ba3cfac15b2b1d0e26e894bd8fc50968e5b
    Size: 1.23 MB
  17. rubygem-did_you_mean-1.2.0-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 0535d874b0afea90a4fbc5b9d138549e
    SHA-256: 884293dcc1955620eeb95f0fb176721c70d34bd6e5e81a4d7530d1f620e2c33d
    Size: 82.12 kB
  18. rubygem-io-console-0.4.6-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: bd3b0a89fece08d2e5cf3e58a8574b8a
    SHA-256: 3e93d2daf5c18d02bd3e756afacf6cfbe97de149a2a2fed5fac445d3607c0965
    Size: 68.53 kB
  19. rubygem-io-console-0.4.6-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 8834dc4751b85fdc62ed861d0aa9fde1
    SHA-256: b48684df91b0a53b7eb21a3082c0966252729fc2bbe520e57980c75102e32fad
    Size: 67.60 kB
  20. rubygem-json-2.1.0-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: c8be9fe08a4a68df99e66fef516e46c6
    SHA-256: 063af24c97982ae53a3ac51889653e99ac982735e92cb4448fbbb2291c24ebb4
    Size: 92.71 kB
  21. rubygem-json-2.1.0-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 550299fecbcf88bc835f41cc7f60ba22
    SHA-256: 0643262bb5648d95593d3200cf4dfd1ac3404b956641b88a17759b90d71eab7e
    Size: 91.42 kB
  22. rubygem-minitest-5.10.3-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 4eee5b1f2275744e6ceb00872079287e
    SHA-256: f1e10e1ee4a4b5cd326ae444b4dd023c37eba47c8018299a39e73631c3451ebb
    Size: 123.42 kB
  23. rubygem-mongo-2.5.1-2.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 20d649a5c18ede1d8eba20f517878648
    SHA-256: 5d7dee65039c10a397c931f2453573ffe17b8ab51bd8928b705466a8c963f0b5
    Size: 184.41 kB
  24. rubygem-mongo-doc-2.5.1-2.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 20e2f6c18364a77f49a8632755ddd25c
    SHA-256: 131a80e7a1657387aa30672f41e41d5a202b1e67920177c00e5f1f6d47bd3928
    Size: 1.20 MB
  25. rubygem-mysql2-0.4.10-4.module+el8+1872+f9fcc480.ML.1.x86_64.rpm
    MD5: 389d9f3d76d53b641097990f15e8e121
    SHA-256: 79265b66a1614221cac654e96af2ccdf43f41f78fccf598829e146fd540b715f
    Size: 44.29 kB
  26. rubygem-mysql2-debugsource-0.4.10-4.module+el8+1872+f9fcc480.ML.1.x86_64.rpm
    MD5: 8d850b8e6aabab1dcc07f8a7252c9402
    SHA-256: 427ab1a933d123209ff5f2b0e983c7a354f9fb7fd16e43f7999916cf35d465c2
    Size: 36.06 kB
  27. rubygem-mysql2-doc-0.4.10-4.module+el8+1872+f9fcc480.ML.1.noarch.rpm
    MD5: defd922599f9c0eb182716d1da3910ea
    SHA-256: 6b700b64819f5ea326c0cc4613a23b9bd71f456e3342fe0471e0b6e1ea044725
    Size: 275.39 kB
  28. rubygem-net-telnet-0.1.1-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 17ce518828fb1a9f197bf2af87fcce19
    SHA-256: 65eff1f40da9a6f56ff2c39ce5418563e8a1c0abacc54809b99be8230ffe67f0
    Size: 71.13 kB
  29. rubygem-openssl-2.1.2-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: 8b087c31c39bf694af5ed2dce9fae2de
    SHA-256: f28df74ff7421d2eb6bb5b7622390c2e829d5be6224a3c283eb015ca49bec444
    Size: 202.49 kB
  30. rubygem-openssl-2.1.2-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 973db17e6b7ae7138ac84523dd817aa5
    SHA-256: 3cf95b3f746a2591c9ef06b5ed179b25bee00590cece5f7a93058600e859010f
    Size: 190.23 kB
  31. rubygem-pg-1.0.0-3.module+el8+1872+f9fcc480.ML.1.x86_64.rpm
    MD5: 70d5acf56e671429cd28dd8539abf7f3
    SHA-256: 2132c0f77a453776e32d60cc40dcb7aeffa27dc5ab8968103e8e009955c7975f
    Size: 86.38 kB
  32. rubygem-pg-debugsource-1.0.0-3.module+el8+1872+f9fcc480.ML.1.x86_64.rpm
    MD5: 4c265bfd708b75e9416f24df63d10f1e
    SHA-256: 74d1812734ab4e0117404afb1cbdbd77e38fab6a9f1582bd128b38284446f24d
    Size: 81.46 kB
  33. rubygem-pg-doc-1.0.0-3.module+el8+1872+f9fcc480.ML.1.noarch.rpm
    MD5: afa7857e8f1864cd4c84574252a0a26a
    SHA-256: c78b120bf8ee793dbb37120b87c536493a68325411fd7a39f44e514caeaa9c5b
    Size: 522.99 kB
  34. rubygem-power_assert-1.1.1-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: e8d843ba3d8bf74e34ed800e67b2ec29
    SHA-256: edb9301a8b1411723b245af21168a6c52871ad93b169783a045359d6160fcf08
    Size: 70.21 kB
  35. rubygem-psych-3.0.2-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: 245f362fd5f55c23e7a473bfa57838fc
    SHA-256: a6ab4e06d1b6f56cbecea960f787400c1bda76bea6b8533c59c5de176ae761ee
    Size: 97.33 kB
  36. rubygem-psych-3.0.2-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: a1947b9c0456a6877427ec1b229b023c
    SHA-256: ba568481ce3e4251c43761d957bd2511ca3711f41025ccce09e9cfdad0741f1c
    Size: 95.99 kB
  37. rubygem-rake-12.3.3-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 79a58c41868d6a56819764813d7e81a1
    SHA-256: 8fcd235d51776e3ae8de4742481aab5cc998117797957ffbb34fa72e60c4ded5
    Size: 142.22 kB
  38. rubygem-rdoc-6.0.1.1-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 19e17bc54226b22cb3d51ad7f5db93bf
    SHA-256: 6228d4867f92de9fc4cc4995b1203d31f2b9f45d369275a9c858944fb93ae352
    Size: 456.87 kB
  39. rubygems-2.7.6.3-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: e43fdb46ecc9ae4fe87bdc7d8675bd38
    SHA-256: 301045feaa82d02429e478f5e32cbdbc66c412b8b9654c30317b4688eae98663
    Size: 308.94 kB
  40. rubygems-devel-2.7.6.3-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: b20f4cf61b1ff559ef452ed7a0daabb1
    SHA-256: 10dfe9637178f757a263914b3f8ac8aee7b617a5bdb1b45c421c2ed5b184da2b
    Size: 61.02 kB
  41. rubygem-test-unit-3.2.7-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: efb5beb3fac93c317091f629958ac851
    SHA-256: 9eb1b3a77b5cd0c6076cfab980ab81e0ddd9a52f06b53d0e35eeb9a712609f34
    Size: 183.01 kB
  42. rubygem-xmlrpc-0.3.0-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 69456949cfdb255d14ee0bc938c61915
    SHA-256: b6db6496501d0fd6f93056567bd4ae29d34c134ee54c56c919078132cccccc43
    Size: 82.70 kB
  43. ruby-irb-2.5.9-114.module+el8+1872+f9fcc480.noarch.rpm
    MD5: 210ccb2c19a58c511c8fff817b4c6d7b
    SHA-256: 5b339a7b0a37c2631876e9ece3b12c58fc6f010d4c2febe57c307b2fb37c431c
    Size: 102.97 kB
  44. ruby-libs-2.5.9-114.module+el8+1872+f9fcc480.i686.rpm
    MD5: b41fb26a494795232fb288c2207ea456
    SHA-256: f6f0c6e2199fec8964cf7116a2ec64badeac26d625c3361244378940a1d5886a
    Size: 3.03 MB
  45. ruby-libs-2.5.9-114.module+el8+1872+f9fcc480.x86_64.rpm
    MD5: 7962c2402745797860f107ad083f3646
    SHA-256: a6ea97b967708d85d4062c60b1455102671d94799fe17a54e0831f8197cb2ad4
    Size: 2.92 MB