CVE-2018-8779Ruby-lang Ruby
High 7.5 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 6.9% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 3, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≥ 2.2.0 < 2.2.10 |
| ruby-lang | ruby | ≥ 2.3.0 < 2.3.7 |
| ruby-lang | ruby | ≥ 2.4.0 < 2.4.4 |
| ruby-lang | ruby | ≥ 2.5.0 < 2.5.1 |
| ruby-lang | ruby | 2.6.0 |
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.ruby-lang.org Vendor Advisory
- www.ruby-lang.org Patch Vendor Advisory
- www.ruby-lang.org Patch Vendor Advisory
- www.ruby-lang.org Patch Vendor Advisory
- www.ruby-lang.org Patch Vendor Advisory