CVE-2020-10933
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, buffe...
Original description
The description as published by the source.
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 packages
Bitnami
ruby-min
[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.8"},{"introduced":"2.6.0"},{"fixed":"2.6.6"},{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}]
Bitnami
ruby
[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"2.5.8"},{"introduced":"2.6.0"},{"fixed":"2.6.6"},{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2020-10933 ruby Fixed in: 2.5.8-r0
- Debian DEBIAN-CVE-2020-10933 ruby2.7 Fixed in: 2.7.1-1
References
- advisory security.netapp.com
- advisory debian.org
- advisory ruby-lang.org
- web lists.fedoraproject.org
- web nvd.nist.gov