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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-4721-1 ruby2.5 security update
EUVD EUVD 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.
Ubuntu USN Ubuntu USN USN-4882-1 Ruby vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T11:21:13.597Z

Reserved: 2020-03-24T00:00:00

Link: CVE-2020-10933

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-05-04T15:15:13.963

Modified: 2024-11-21T04:56:23.987

Link: CVE-2020-10933

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-03-31T00:00:00Z

Links: CVE-2020-10933 - Bugzilla

cve-icon OpenCVE Enrichment

No data.