Out-of-bounds read In ruby
Description
CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rubygems | 0.3.1, 0.2.1, 0.1.0.1 | ||
alpine v3.20 | 3.0.3-r0 | ||
alpine v3.21 | 3.0.3-r0 | ||
alpine v3.12 | 2.7.5-r0 | ||
alpine v3.13 | 2.7.5-r0 | ||
alpine v3.14 | 2.7.5-r0 | ||
alpine v3.15 | 3.0.3-r0 | ||
alpine v3.16 | 3.0.3-r0 | ||
alpine v3.17 | 3.0.3-r0 | ||
alpine v3.18 | 3.0.3-r0 |
1-10 of 15
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.