PT-2017-2997

CVE-2017-10784

·

Published

2017-07-01

·

Updated

2026-09-18

Description by

CVSS 2.0
9.3
High
MetricsAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Ruby versions prior to 2.2.8 Ruby versions 2.3.x prior to 2.3.5 Ruby versions 2.4.x through 2.4.1
Description The issue is related to the Basic authentication code in the WEBrick library in Ruby, which allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name. This is due to improper handling of log output. An attacker could exploit this issue by using a specially prepared username, potentially allowing them to execute arbitrary commands in the user's terminal emulator.
Recommendations For Ruby versions prior to 2.2.8, update to version 2.2.8 or later. For Ruby versions 2.3.x prior to 2.3.5, update to version 2.3.5 or later. For Ruby versions 2.4.x through 2.4.1, update to a version later than 2.4.1.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-369M-2GV6-MW28
ALT-PU-2017-2216
CESA-2018_0378
CLEANSTART-2026-MZ31215
DLA-1113-1
DLA-1114-1
DLA-1421-1
DSA-4031-1
MGASA-2017-0371
RHSA-2017:3485
RHSA-2018:0378
RHSA-2018_0378
RHSA-2018:0583
RHSA-2018:0585
RHSA-2026:7305
RHSA-2026:7307
RHSA-2026:8838
SUSE-SU-2020:1570-1
SUSE-SU-2020_1570-1
USN-3439-1
USN-3528-1
USN-3685-1
Found an issue in the description? Have something to add? Feel free to write us 👾