CVSS 3.0
7.5 highCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 6.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExplain CVE-2018-8779 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8779?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8779?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-2018-8779 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:ruby | from 2.2.0 before 2.2.10 |
| ruby-lang:ruby | from 2.3.0 before 2.3.7 |
| ruby-lang:ruby | from 2.4.0 before 2.4.4 |
| ruby-lang:ruby | from 2.5.0 before 2.5.1 |
| ruby-lang:ruby | 2.6.0:preview1 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 17.10 |
| debian:debian_linux | 7.0 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | ruby1.8 | 1.8.7.358-7.1+deb7u6 | DLA-1359-1 |
| Debian | 7 | ruby1.9.1 | 1.9.3.194-8.1+deb7u8 | DLA-1358-1 |
| Debian | 8 | ruby2.1 | 2.1.5-2+deb8u4 | DLA-1421-1 |
| Debian | 9 | ruby2.3 | 2.3.3-1+deb9u3 | DSA-4259-1 |
| Ubuntu | 14.04:LTS | ruby1.9.1 | 1.9.3.484-2ubuntu1.11 | UBUNTU-CVE-2018-8779 USN-3626-1 |
| Ubuntu | 14.04:LTS | ruby2.0 | 2.0.0.484-1ubuntu2.9 | UBUNTU-CVE-2018-8779 USN-3626-1 |
| Ubuntu | 16.04:LTS | ruby2.3 | 2.3.1-2~16.04.9 | UBUNTU-CVE-2018-8779 USN-3626-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | ruby, ruby-doc, ruby-irb and 4 more | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-bigdecimal | 0:1.2.0-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-io-console | 0:0.4.2-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-json | 0:1.7.7-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-minitest | 0:4.3.2-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-psych | 0:2.0.0-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-rake | 0:0.9.6-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygem-rdoc | 0:4.0.0-36.el7 | RHSA-2019:2028 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | rubygems, rubygems-devel | 0:2.0.14.1-36.el7 | RHSA-2019:2028 |
| Red Hat | rhel_software_collections:3::el6 | rh-ruby23-ruby, rh-ruby23-ruby-doc, rh-ruby23-ruby-irb and 4 more | 0:2.3.8-69.el6 | RHSA-2018:3729 |
| Red Hat | rhel_software_collections:3::el6 | rh-ruby23-rubygem-bigdecimal | 0:1.2.8-69.el6 | RHSA-2018:3729 |
| Red Hat | rhel_software_collections:3::el6 | rh-ruby23-rubygem-did_you_mean | 0:1.0.0-69.el6 | RHSA-2018:3729 |
| 68 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | ruby2.1 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
| SUSE | Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1 | ruby2.5 | 2.5.5-4.3.1 | SUSE-SU-2019:1804-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 more | yast2-ruby-bindings | 3.1.53-9.8.1 | SUSE-SU-2020:1570-1 |
| openSUSE | Leap 15.0, Leap 15.1 | ruby-bundled-gems-rpmhelper | 0.0.2-lp151.2.1 | openSUSE-SU-2019:1771-1 |
| openSUSE | Leap 15.0, Leap 15.1 | ruby2.5 | 2.5.5-lp151.4.3.1 | openSUSE-SU-2019:1771-1 |
| Alpine | v3.4, v3.5 | ruby | 2.3.7-r0 | ALPINE-CVE-2018-8779 |
| Alpine | v3.6, v3.7 | ruby | 2.4.4-r0 | ALPINE-CVE-2018-8779 |
| Alpine | v3.8, v3.9, v3.10 and 14 more | ruby | 2.5.1-r0 | ALPINE-CVE-2018-8779 |
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; 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 rates this Low.
This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6.
It is possible to test for presence of the NULL byte manually prior to call the affected methods.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ruby-0:2.0.0.648-36.el7 | Fixed 2019-08-06 | RHSA-2019:2028 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby23-ruby-0:2.3.8-69.el6 | Fixed 2018-11-29 | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby24-ruby-0:2.4.5-91.el6 | Fixed 2018-11-29 | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed 2018-11-29 | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed 2018-11-29 | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed 2018-11-29 | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed 2018-11-29 | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed 2018-11-29 | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed 2018-11-29 | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed 2018-11-29 | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed 2018-11-29 | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed 2018-11-29 | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed 2018-11-29 | RHSA-2018:3729 |
| CloudForms Management Engine 5 | rh-ruby22-ruby | Affected | |
| CloudForms Management Engine 5 | ruby-200-ruby | Affected | |
| Red Hat Enterprise Linux 5 | ruby | Not affected | |
| Red Hat Enterprise Linux 6 | ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby | Not affected | |
| Red Hat Software Collections | rh-ruby22-ruby | Will not fix | |
| Red Hat Subscription Asset Manager | ruby193-ruby | Will not fix | |
| 2 more in the JSON and on Red Hat's page. | |||
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-2018-8779.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).