Out-of-bounds read In ruby
Description
An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0. If a victim calls BasicSocket#read_nonblock(requested_size, buffer, exception: false), the method resizes the buffer to fit the requested size, but no data is copied. Thus, the buffer string provides the previous value of the heap. This may expose possibly sensitive data from the interpreter.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpine v3.11 | 2.6.6-r0 | ||
alpine v3.18 | 2.6.6-r0 | ||
alpine v3.14 | 2.6.6-r0 | ||
alpine v3.13 | 2.6.6-r0 | ||
debian 11 | 2.7.1-1 | ||
alpine v3.10 | 2.5.8-r0 | ||
alpine v3.12 | 2.6.6-r0 | ||
alpine v3.15 | 2.6.6-r0 | ||
alpine v3.19 | 2.6.6-r0 | ||
alpine v3.21 | 2.6.6-r0 |
1-10 of 21
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
References
1.