CVE-2020-10933

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-10933
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-10933.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-10933
Aliases
Downstream
Related
Published
2020-05-04T15:15:13Z
Modified
2025-01-27T08:56:43.426241Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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#readnonblock(requestedsize, 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.

References

Affected packages

Git / github.com/ruby/ruby