VDB

CVE-2025-6442

CVE-2025-6442 PUBLISHED CVSS 6.5 MEDIUM

Ruby WEBrick read_header HTTP Request Smuggling Vulnerability

Reported by zdi · Published June 25, 2025

webrick is fixed in 1.8.2 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
webrickRubyGems1.8.2
ruby3.2-rubygem-rexmlAmazon Linux3.3.9-184.amzn2023.0.2
rubygem-rakeAmazon Linux0.9.6-36.amzn2.0.15
ruby3.2-rubygem-bigdecimalAmazon Linux3.1.3-184.amzn2023.0.2
ruby3.2-rubygem-rssAmazon Linux0.3.1-184.amzn2023.0.2
rubygem-minitestAmazon Linux4.3.2-36.amzn2.0.15
ruby-tcltkAmazon Linux2.0.0.648-36.amzn2.0.15
ruby3.2-rubygemsAmazon Linux3.4.19-184.amzn2023.0.2
ruby3.2-rubygem-bundlerAmazon Linux2.4.19-184.amzn2023.0.2
ruby3.2-rubygem-rdocAmazon Linux6.5.1.1-184.amzn2023.0.2
ruby3.2-rubygem-power_assertAmazon Linux2.0.3-184.amzn2023.0.2
rubygem-rdocAmazon Linux4.0.0-36.amzn2.0.15

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
RubyWEBrick1.8.1
amazon:2023ruby3.2-rubygem-rexml0
amazon:2rubygem-rake0
amazon:2023ruby3.2-rubygem-bigdecimal0
amazon:2023ruby3.2-rubygem-rss0
amazon:2rubygem-minitest0
amazon:2ruby-tcltk0
amazon:2023ruby3.2-rubygems0
amazon:2023ruby3.2-rubygem-bundler0
amazon:2023ruby3.2-rubygem-rdoc0
amazon:2023ruby3.2-rubygem-power_assert0
amazon:2rubygem-rdoc0
amazon:2ruby-doc0
amazon:2023ruby3.2-rubygem-psych0
amazon:2023ruby3.2-bundled-gems0
amazon:2023ruby3.2-rubygem-typeprof0
amazon:2rubygem-json0
amazon:2023ruby3.2-doc0
amazon:2023ruby3.2-rubygem-test-unit0
amazon:2023ruby3.2-rubygem-rbs0

…and 21 more

Timeline

  • Jun 25, 2025 CVE Published
  • Jun 26, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 26, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-6442
vulnetix vdb fixes CVE-2025-6442

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6442/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›