Original 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.
Affected software
- Ruby = 2.7.0≥ 2.5.0 ≤ 2.5.7≥ 2.6.0 ≤ 2.6.5 exact match
Details
- Published
- 2020-05-04
- Last modified
- 2024-08-04
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- EPSS (30-day exploit probability)
- 2.53% (percentile 85)
References
- cve.org/CVE-2020-10933
- nvd.nist.gov/vuln/detail/CVE-2020-10933
- www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F...
- security.netapp.com/advisory/ntap-20200625-0001/
- www.debian.org/security/2020/dsa-4721
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.