Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.
3.3.143.4.134.0.103.3.143.4.134.0.103.3.143.4.134.0.103.3.143.4.134.0.103.3.143.4.134.0.103.3.143.4.134.0.10Exploitability
AV:LAC:HPR:NUI:NScope
S:UImpact
C:HI:HA:H7.4/CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOther