CVE-2020-10933

EUVD-2020-3339
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 62%
Affected Products (NVD)
VendorProductVersion
ruby-langruby
2.5.0 ≤
𝑥
≤ 2.5.7
ruby-langruby
2.6.0 ≤
𝑥
≤ 2.6.5
ruby-langruby
2.7.0
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby2.7
bullseye
2.7.4-1+deb11u1
fixed
bullseye (security)
2.7.4-1+deb11u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.9.1
bionic
dne
eoan
dne
focal
dne
groovy
dne
trusty
dne
xenial
dne
ruby2.0
bionic
dne
eoan
dne
focal
dne
groovy
dne
trusty
dne
xenial
dne
ruby2.3
bionic
dne
eoan
dne
focal
dne
groovy
dne
trusty
dne
xenial
not-affected
ruby2.5
bionic
Fixed 2.5.1-1ubuntu1.8
released
eoan
ignored
focal
dne
groovy
dne
trusty
dne
xenial
dne
ruby2.7
bionic
dne
eoan
dne
focal
Fixed 2.7.0-5ubuntu1.3
released
groovy
not-affected
trusty
dne
xenial
dne