Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.
Start learningA fix was pushed into the master branch but not yet published.
Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the rb_str_casemap() function in string.c during string case conversion. An attacker can overflow the length accounting and write past the end of a heap buffer by case-converting a string whose result exceeds 4 GiB through an operation such as String#upcase, #downcase, #swapcase, or #capitalize, allowing remote code execution. Exploitation requires converting a string of roughly 4 GiB or larger, so it applies to 64-bit platforms with sufficient memory.