CVE-2020-10933
Public on 2020-05-04
Modified on 2024-02-07
Description
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.
Ruby shipped in the Amazon Linux 2 core repository is not affected by this issue.
Ruby shipped in the Amazon Linux 2 core repository is not affected by this issue.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 1 | ruby | Not Affected | ||
Amazon Linux 2 - Core | ruby | Not Affected | ||
Amazon Linux 2 - Ruby2.6 Extra | ruby | 2023-08-21 | ALAS2RUBY2.6-2023-007 | Fixed |
Amazon Linux 1 | ruby20 | Not Affected | ||
Amazon Linux 2023 | ruby3.2 | Not Affected |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
NVD | CVSSv2 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
NVD | CVSSv3 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |