{
  "threat_severity" : "Moderate",
  "public_date" : "2020-03-31T00:00:00Z",
  "bugzilla" : {
    "description" : "ruby: BasicSocket#read_nonblock method leads to information disclosure",
    "id" : "1833291",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1833291"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-805->CWE-200",
  "details" : [ "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." ],
  "statement" : "Red Hat CloudForms 5 has stopped shipping Ruby and 4.7 ships Ruby 2.4 series, hence not vulnerable to the flaw.\nRed Hat Enterprise Linux versions prior than 8 ships ruby 2.0 or older releases, hence not vulnerable to the flaw.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-06-29T00:00:00Z",
    "advisory" : "RHSA-2021:2587",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "ruby:2.5-8040020200923213910.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-06-29T00:00:00Z",
    "advisory" : "RHSA-2021:2588",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "ruby:2.6-8040020210430142949.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions",
    "release_date" : "2022-02-21T00:00:00Z",
    "advisory" : "RHSA-2022:0581",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.1",
    "package" : "ruby:2.6-8010020220201152941.c27ad7f8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2022-02-21T00:00:00Z",
    "advisory" : "RHSA-2022:0582",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "ruby:2.6-8020020220201131207.4cda2c84"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-05-26T00:00:00Z",
    "advisory" : "RHSA-2021:2104",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-ruby25-ruby-0:2.5.9-9.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2021-06-03T00:00:00Z",
    "advisory" : "RHSA-2021:2230",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-ruby26-ruby-0:2.6.7-119.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS",
    "release_date" : "2021-05-26T00:00:00Z",
    "advisory" : "RHSA-2021:2104",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-ruby25-ruby-0:2.5.9-9.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-05-26T00:00:00Z",
    "advisory" : "RHSA-2021:2104",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-ruby25-ruby-0:2.5.9-9.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2021-06-03T00:00:00Z",
    "advisory" : "RHSA-2021:2230",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-ruby26-ruby-0:2.6.7-119.el7"
  } ],
  "package_state" : [ {
    "product_name" : "CloudForms Management Engine 5",
    "fix_state" : "Not affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "ruby",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-10933\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-10933\nhttps://www.ruby-lang.org/en/news/2020/03/31/heap-exposure-in-socket-cve-2020-10933" ],
  "name" : "CVE-2020-10933",
  "csaw" : false
}