CVE-2020-10933
5.3
MEDIUM
CVSS 3.1
EPSS 0.41%
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.
How to fix CVE-2020-10933
To remediate CVE-2020-10933, upgrade the affected package to a fixed version below.
- —upgrade to 2.5.8-r0 or later
- —upgrade to 2.5.8 or later
- —upgrade to 2.5.8 or later
- —upgrade to 2.7.1-1 or later
Is CVE-2020-10933 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.5.8-r0
- >= 2.5.0, < 2.5.8, >= 2.6.0, < 2.6.6, >= 2.7.0, < 2.7.1
- >= 2.5.0, < 2.5.8, >= 2.6.0, < 2.6.6, >= 2.7.0, < 2.7.1
- from 0, < 2.7.1-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |