NetSight
medium5.3

CVE-2020-10933

An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0.

Impact

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.

Affected products

VendorProductAffected versions
Ruby-LangRuby
from 2.5.0 through 2.5.7
from 2.6.0 through 2.6.5
Version 2.7.0
FedoraprojectFedora
Version 31
DebianDebian Linux
Version 10.0

Weakness classification

References