Live threats

All CVEs / Ruby-lang

CVE-2017-10784Ruby-lang Ruby

High 8.8 No auth neededHigh EPSS

Priority
69
CVSS 3.0
8.8
EPSS
16.4%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Sep 19, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems webrick < 1.4.0 1.4.0 gem "webrick", ">= 1.4.0"

Per OSV / GitHub Advisories (GHSA-369m-2gv6-mw28). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 2.2.7
ruby-langruby2.3.0
ruby-langruby2.3.0
ruby-langruby2.3.0
ruby-langruby2.3.1
ruby-langruby2.3.2
ruby-langruby2.3.3
ruby-langruby2.3.4
ruby-langruby2.4.0
ruby-langruby2.4.0
ruby-langruby2.4.0
ruby-langruby2.4.0
ruby-langruby2.4.0
ruby-langruby2.4.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.