All vulnerabilities

Servers and applications

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.

Severity
Medium 5.3
Published
4 May 2020
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • From 2.5.0 up to 2.5.7
  • From 2.6.0 up to 2.6.5
  • Version 2.7.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-10933
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-10933