CVE-2025-6442 — Vulnerability in webrick — CVE Details
Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling
Summary
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.
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).
| Package | Ecosystem | Affected | Fixed 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.
- CWE-444
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6442ADVISORY
- https://github.com/ruby/webrick/commit/ee60354bcb84ec33b9245e1d1aa6e1f7e8132101#diff-ad02984d873efb089aa51551bc6b7d307a53e0ba1ac439e91d69c2e58a478864WEB
- https://github.com/ruby/webrickPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2025-6442.ymlWEB
- https://www.zerodayinitiative.com/advisories/ZDI-25-414WEB
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
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2017-10784HIGH
WEBrick RCE Vulnerability
- CVE-2024-47220HIGH
HTTP Request Smuggling in ruby webrick
- CVE-2020-25613HIGH
WEBRick vulnerable to HTTP Request/Response Smuggling
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies