Loading...
Skip to main content

CVE-2025-6442 — Vulnerability in webrick — CVE Details

MEDIUM

Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling

Published June 26, 2025Updated June 30, 2025Source: osv

Summary

Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The specific flaw exists within the read_headers method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests. Was ZDI-CAN-21876.

Advisory Timeline

  • First published June 26, 2025 (473 days ago).
  • Last revised June 30, 2025 — 4 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
webrick
rubygems
1.3.1, 1.4.0, 1.4.0.beta1, 1.4.1 (+10 more)1.8.2

Vulnerability Classification

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

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2025-6442?
Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
How do I check if my project is affected by CVE-2025-6442?
CVE-2025-6442 affects webrick. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-6442 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-r995-q44h-hr64

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies