VDB

BIT-ruby-2020-10933

BIT-ruby-2020-10933 PUBLISHED CVSS 5.300000190734863 MEDIUM

Record from OSV · Published March 6, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubyBitnami2.7.1, 2.6.6, 2.5.8

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
Bitnamiruby2.5.0, 2.6.0, 2.7.0

Timeline

  • Mar 6, 2024 CVE Published
  • Apr 3, 2025 CVE Updated
  • May 6, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln BIT-ruby-2020-10933
vulnetix vdb fixes BIT-ruby-2020-10933

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/BIT-ruby-2020-10933/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›