CVE Database›Document archive›CVE-2018-8779

CVE-2018-8779

ruby: Unintentional socket creation by poisoned NULL byte in UNIXServer and UNIXSocket

Loading…

Severity

Low

Red Hat Product Security

3.7

CVSS 3.0

Review impact separately from score.

Published · March 28, 2018

Updated · June 28, 2026

Description

It was found that the UNIXSocket::open and UNIXServer::open ruby methods did not handle the NULL byte properly. An attacker, able to inject NULL bytes in the socket path, could possibly trigger an unspecified behavior of the ruby script.

Statement

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

It is possible to test for presence of the NULL byte manually prior to call the affected methods.

CVSS / CWE

CVSS 3.0 · 3.7
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

CWE-626 · Null Byte Interaction Error (Poison Null Byte)