Security mailing lists by PureSourceCode

CVE-2020-10933

MEDIUM 5.3CVSS 3.1

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.

Published
4 May 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-908
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.5.0, <= 2.5.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.6.0, <= 2.6.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.7.0:*:*:*:*:*:*:*
= 2.7.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 4 May 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.