CVE-2018-8779

HIGH

Ruby <2.2.10-2.6.0 - Code Injection

Title source: llm
STIX 2.1

Description

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the UNIXServer.open and UNIXSocket.open methods are not checked for null characters. It may be connected to an unintended socket.

References (17)

Core 17
Core References
Patch, Vendor Advisory x_refsource_confirm
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3729
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3626-1/
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1042004
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3730
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3731
Patch, Vendor Advisory x_refsource_confirm
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103767
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
Patch, Vendor Advisory x_refsource_confirm
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4259
Patch, Vendor Advisory x_refsource_confirm
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2028

Scores

CVSS v3 7.5
EPSS 0.0128
EPSS Percentile 79.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-20
Status published
Products (8)
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
ruby-lang/ruby 2.6.0 preview1
ruby-lang/ruby 2.2.0 - 2.2.10
Published Apr 03, 2018
Tracked Since Feb 18, 2026