CVE-2020-10933
Last modified
CVE-2020-10933 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 2.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Ruby | >= 2.5.0, <= 2.5.7 |
| Ruby-Lang | Ruby | >= 2.6.0, <= 2.6.5 |
| Ruby-Lang | Ruby | 2.7.0 |
| Fedoraproject | Fedora | 31 |
| Debian | Debian Linux | 10.0 |
References
- https://security.netapp.com/advisory/ntap-20200625-0001/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4721Third Party Advisory
- https://www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933/Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20200625-0001/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4721Third Party Advisory
- https://www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933/Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-10933?
How severe is CVE-2020-10933?
How do I fix CVE-2020-10933?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-10928This vulnerability allows network-adjacent attackers to exec…8.4
- CVE-2020-10929This vulnerability allows network-adjacent attackers to exec…8.8
- CVE-2020-1093A remote code execution vulnerability exists in the way that…7.5
- CVE-2020-10930This vulnerability allows network-adjacent attackers to disc…6.5
- CVE-2020-10931Memcached 1.6.x before 1.6.2 allows remote attackers to caus…7.5
- CVE-2020-10932An issue was discovered in Arm Mbed TLS before 2.16.6 and 2.…4.7
- CVE-2020-10934Acyba AcyMailing before 6.9.2 mishandles file uploads by adm…7.2
- CVE-2020-10935Zulip Server before 2.1.3 allows XSS via a Markdown link, wi…5.4
- CVE-2020-10936Sympa before 6.2.56 allows privilege escalation.7.8
- CVE-2020-10937An issue was discovered in IPFS (aka go-ipfs) 0.4.23. An att…7.5
- CVE-2020-10938GraphicsMagick before 1.3.35 has an integer overflow and res…9.8
- CVE-2020-10939Insecure, default path permissions in PHOENIX CONTACT PC WOR…7.8
Are you affected by CVE-2020-10933?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
