Skip to main content

CVE-2017-10784 — Vulnerability in webrick — CVE Details

HIGH

WEBrick RCE Vulnerability

Published May 14, 2022Updated March 13, 2024Source: OSV

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 16.41% in 30 days. Address in your next planned sprint.

Does your project use an affected webrick version?

Paste your Gemfile.lock to check it for CVE-2017-10784 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

Summary

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.

Advisory Timeline

  • First published May 14, 2022 (1657 days ago).
  • Last revised March 13, 2024 — 669 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update webrick to 1.4.0 or later
gem install webrick -v 1.4.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: RubyGems (1).

PackageFixed In
webrick RubyGems · Affected: 1.3.1, 1.4.0.beta11.4.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-287
    Improper AuthenticationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2017-10784?
WEBrick RCE Vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2017-10784?
CVE-2017-10784 affects webrick. It has a 16.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-10784 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
16.41%
EPSS percentile: 97.6

This places it in the top 5% of EPSS-scored vulnerabilities — 97.6% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-369m-2gv6-mw28

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock