All reports
Medium

UBUNTU-CVE-2020-10933

Affected versions

Affected versions
<2.5.1-1ubuntu1.8
Fixed version
2.5.1-1ubuntu1.8
Affected versions
<2.7.0-5ubuntu1.3
Fixed version
2.7.0-5ubuntu1.3

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.

Links