Heap Exposure in Ruby Products by Ruby Programming Language
CVE-2020-10933
5.3MEDIUM
What is CVE-2020-10933?
A vulnerability exists in Ruby versions 2.5.x up to 2.5.7, 2.6.x up to 2.6.5, and 2.7.0 that may expose sensitive data from the interpreter. When invoking the BasicSocket#read_nonblock method with parameters that resize the buffer, the buffer does not copy the new data, instead retaining old data from the heap. This behavior can potentially disclose sensitive information that was previously stored in memory, posing a significant security risk.