Live threats

All CVEs / Ruby-lang

CVE-2025-6442Ruby-lang Webrick

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Jun 25, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Webrick.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems webrick < 1.8.2 1.8.2 gem "webrick", ">= 1.8.2"

Per OSV / GitHub Advisories (GHSA-r995-q44h-hr64). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langwebrick< 1.8.2

Official sources

References

Links published by the sources. Open them with care.