cve.bz

CVE-2020-10933 Use of Uninitialized Resource

5.3 mediumExploit referenceEPSS 2.5%

Medium (5.3). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-908 Use of Uninitialized Resource
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10933 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10933?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10933?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10933 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubyfrom 2.5.0 through 2.5.7
ruby-lang:rubyfrom 2.6.0 through 2.6.5
ruby-lang:ruby2.7.0
fedoraproject:fedora31
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ruby2.52.5.5-3+deb10u2DSA-4721-1
Debian11ruby2.72.7.1-1DEBIAN-CVE-2020-10933
Ubuntu16.04:LTSruby2.32.3.1-2~ubuntu16.04.15USN-4882-1
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.8UBUNTU-CVE-2020-10933 USN-4882-1
Ubuntu20.04:LTSruby2.72.7.0-5ubuntu1.3UBUNTU-CVE-2020-10933 USN-4882-1
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 4 more0:2.6.7-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.4.1-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.5.0-1.module+el8.1.0+3653+beb38eb0RHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:1.17.2-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-3.module+el8.1.0+3656+f80bfa1dRHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-107.module+el8.4.0+10822+fe4fffb1RHSA-2021:2587
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.3.0-107.module+el8.4.0+10830+bbd85cceRHSA-2021:2588
107 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15 SP1ruby2.52.5.8-4.11.1SUSE-SU-2020:0995-1
openSUSELeap 15.1ruby2.52.5.8-lp151.4.9.1openSUSE-SU-2020:0586-1
openSUSETumbleweedruby2.72.7.3-3.2openSUSE-SU-2024:11310-1
openSUSETumbleweedruby3.03.0.1-3.2openSUSE-SU-2024:11311-1
openSUSETumbleweedruby3.13.1.0-1.1openSUSE-SU-2024:11786-1
openSUSETumbleweedruby3.23.2.1-1.1openSUSE-SU-2024:12712-1
openSUSETumbleweedruby3.33.3.0-1.2openSUSE-SU-2024:13623-1
openSUSETumbleweedruby3.43.4.1-1.1openSUSE-SU-2025:14621-1
openSUSETumbleweedruby4.04.0.0~preview2-1.1openSUSE-SU-2025:15819-1
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2623+08a8ba32ALSA-2021:2587 ALSA-2021:2588
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-bson, rubygem-bson-doc4.5.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+259+8cec6917ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2021:2587
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+250+ba22dbf7ALSA-2021:2588
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.8.0-1.module_el8.5.0+2623+08a8ba32ALSA-2021:2588
AlmaLinux8rubygem-mysql2, rubygem-mysql2-doc0.4.10-4.module_el8.5.0+259+8cec6917ALSA-2021:2587
7 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-107.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8ruby0:2.6.7-107.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.3.0+167+5c390590RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.4.0+592+03ff458aRLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2021:2587 RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+446+80b53620RLSA-2021:2588
Rocky Linux8rubygem-bson0:4.5.0-1.module+el8.4.0+593+8d7f9f0cRLSA-2021:2588
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.3.0+167+5c390590RLSA-2021:2587
Rocky Linux8rubygem-bundler0:1.16.1-3.module+el8.4.0+592+03ff458aRLSA-2021:2587
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.4.0+349+3470f258RLSA-2021:2587
14 more for Rocky Linux in the JSON.
Alpinev3.8, v3.9, v3.10ruby2.5.8-r0ALPINE-CVE-2020-10933
Alpinev3.11, v3.12, v3.13 and 11 moreruby2.6.6-r0ALPINE-CVE-2020-10933

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat CloudForms 5 has stopped shipping Ruby and 4.7 ships Ruby 2.4 series, hence not vulnerable to the flaw.

Red Hat Enterprise Linux versions prior than 8 ships ruby 2.0 or older releases, hence not vulnerable to the flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:2.5-8040020200923213910.522a0ee4Fixed 2021-06-29RHSA-2021:2587
Red Hat Enterprise Linux 8ruby:2.6-8040020210430142949.522a0ee4Fixed 2021-06-29RHSA-2021:2588
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsruby:2.6-8010020220201152941.c27ad7f8Fixed 2022-02-21RHSA-2022:0581
Red Hat Enterprise Linux 8.2 Extended Update Supportruby:2.6-8020020220201131207.4cda2c84Fixed 2022-02-21RHSA-2022:0582
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby25-ruby-0:2.5.9-9.el7Fixed 2021-05-26RHSA-2021:2104
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-ruby26-ruby-0:2.6.7-119.el7Fixed 2021-06-03RHSA-2021:2230
CloudForms Management Engine 5rubyNot affected
Red Hat Enterprise Linux 5rubyNot affected
Red Hat Enterprise Linux 6rubyNot affected
Red Hat Enterprise Linux 7rubyNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10933.

References

Check your stackJSON