CVE-2020-10933
Advisory lineage Upstream: 0 Downstream: 21
Modified
Published: 04 May 2020, 14:54
Last modified:04 Aug 2024, 11:21
Vulnerability Summary
Overall Risk (default)
medium
31/100 CVSS Score
5.3 MEDIUM
v3.1 (nvd)
EPSS Score
0.41% LOW
0% probability +0.04%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
04 May 2020, 14:54
Published
Vulnerability first disclosed
04 Aug 2024, 11:21
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.41%• Percentile: 62%
Techniques & Countermeasures
- CWE-908•Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
Affected Systems
- debian•debian_linux
10.0
- fedoraproject•fedora
31
- ruby-lang•ruby
≥ 2.5.0, ≤ 2.5.7 | ≥ 2.6.0, ≤ 2.6.5 | 2.7.0
References (4)
- https://www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4TNVTT66VPRMX5UZYSDGSVRXKKDDDU5/
- https://security.netapp.com/advisory/ntap-20200625-0001/
- https://www.debian.org/security/2020/dsa-4721