KeygraphLabs · CVE MCP

CVE-2017-10784 · mitre

CVE-2017-10784

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.

Published 2017-09-19, last changed 2026-06-17. Weakness: CWE-287.

CVSS
8.8
high, from NVD
EPSS
16.4%
percentile 97.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: webrick 1.4.0 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in ruby/webrick by 4ac0f3843a. Functions changed by the fix: do_CONNECT, send_body, send_body_io, send_body_string, send_body_proc, initialize, write, normalize_path, format, start, accept_client, start_thread. Regression tests: test/webrick/test_httpauth.rb, test/webrick/test_httpresponse.rb, test/webrick/test_ssl_server.rb. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-09-19Published
2022-05-14Package advisory GHSA-369m-2gv6-mw28
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 16.4%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-369m-2gv6-mw28webrick (RubyGems)1.4.0

Also known as: GHSA-369m-2gv6-mw28

Related

CVEPublishedCVSSSummary
CVE-2025-64422025-06-255.9Ruby WEBrick read_header HTTP Request Smuggling Vulnerability
CVE-2020-256132020-10-067.5same package: webrick (RubyGems)
CVE-2009-44922010-01-137.5same package: webrick (RubyGems)
CVE-2008-43102008-12-097.8same package: webrick (RubyGems)
CVE-2026-394302026-11-049.8same weakness (CWE-287) from the same CNA (mitre)
CVE-2026-1170822026-11-025.3same weakness (CWE-287) from the same CNA (mitre)
CVE-2026-1070582026-10-299.8same weakness (CWE-287) from the same CNA (mitre)
CVE-2026-793952026-09-119.8same weakness (CWE-287) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-10784, or call /api/v1/vulnerabilities/CVE-2017-10784. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org