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. 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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 54%
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
groovy
dne
focal
dne
eoan
dne
bionic
dne
xenial
dne
trusty
dne
ruby2.0
groovy
dne
focal
dne
eoan
dne
bionic
dne
xenial
dne
trusty
dne
ruby2.3
groovy
dne
focal
dne
eoan
dne
bionic
dne
xenial
not-affected
trusty
dne
ruby2.5
groovy
dne
focal
dne
eoan
ignored
bionic
Fixed 2.5.1-1ubuntu1.8
released
xenial
dne
trusty
dne
ruby2.7
groovy
not-affected
focal
Fixed 2.7.0-5ubuntu1.3
released
eoan
dne
bionic
dne
xenial
dne
trusty
dne