synced 12 MIN AGO
01 Record

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, buffer, exception: false), the method resizes the

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
2.52% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 84.7% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2020-05-04 14:54Z6 YR AGO
Last updated
2024-08-04 11:21Z2 YR AGO
Reserved
2020-03-24
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-908Use of Uninitialized ResourceBase
Data version
5.1
Document digest
04d1febabe90ff74a7e0172e60abc5e6f0cbaa42bae0283905243bf427a232af

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
fedoraprojectfedoraNot specified—
linuxlinux_kernelNot specified—
redhatcloudforms_managementengineNot specified—
redhatenterprise_linuxNot specified—
redhatrhel_e4sNot specified—
redhatrhel_eusNot specified—
redhatrhel_software_collectionsNot specified—
ruby-langrubyNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • rubygem-abrt
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
    • Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-abrt-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
    • Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-bson-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mongo
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
    • Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mongo-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
    • Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
    • Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mysql2-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
    • Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
  • rubygem-pg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
    • Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
    • Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
  • rubygem-pg-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
    • Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
    • Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • rubygem-abrt
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
    • Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-abrt-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
    • Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-bson-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
    • Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mongo
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
    • Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mongo-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
    • Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
    • Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
    • Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
  • rubygem-mysql2-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
    • Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
    • Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
  • rubygem-pg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
    • Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
    • Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
  • rubygem-pg-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
    • Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
    • Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 11

  • ruby2.7
    Fixed in 2.7.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • ruby2.5
    Fixed in 2.5.1-1ubuntu1.8

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • ruby2.7
    Fixed in 2.7.0-5ubuntu1.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.