Live threats

All CVEs / Ruby-lang

CVE-2020-25613Ruby-lang Ruby

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.0%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Oct 6, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypass a reverse proxy (which also has a poor header check), which may lead to an HTTP Request Smuggling attack.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  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.6.0 < 1.6.1 1.6.1 gem "webrick", ">= 1.6.1"
RubyGems webrick ≥ 1.5.0 < 1.5.1 1.5.1 gem "webrick", ">= 1.5.1"
RubyGems webrick < 1.4.4 1.4.4 gem "webrick", ">= 1.4.4"

Per OSV / GitHub Advisories (GHSA-gwfg-cqmg-cf8f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 2.5.8
ruby-langruby≥ 2.6.0 ≤ 2.6.6
ruby-langruby≥ 2.7.0 ≤ 2.7.1
ruby-langwebrick≤ 1.6.0
fedoraprojectfedora32
fedoraprojectfedora33

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.