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.
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-19 | Published |
| 2022-05-14 | Package advisory GHSA-369m-2gv6-mw28 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 16.4% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-369m-2gv6-mw28 | webrick (RubyGems) | 1.4.0 |
Also known as: GHSA-369m-2gv6-mw28
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-6442 | 2025-06-25 | 5.9 | Ruby WEBrick read_header HTTP Request Smuggling Vulnerability |
| CVE-2020-25613 | 2020-10-06 | 7.5 | same package: webrick (RubyGems) |
| CVE-2009-4492 | 2010-01-13 | 7.5 | same package: webrick (RubyGems) |
| CVE-2008-4310 | 2008-12-09 | 7.8 | same package: webrick (RubyGems) |
| CVE-2026-39430 | 2026-11-04 | 9.8 | same weakness (CWE-287) from the same CNA (mitre) |
| CVE-2026-117082 | 2026-11-02 | 5.3 | same weakness (CWE-287) from the same CNA (mitre) |
| CVE-2026-107058 | 2026-10-29 | 9.8 | same weakness (CWE-287) from the same CNA (mitre) |
| CVE-2026-79395 | 2026-09-11 | 9.8 | same 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.