CVE-2020-25613 WEBRick vulnerable to HTTP Request/Response Smuggling

High 7.5 Published Updated

An attacker can exploit insufficient header validation in Ruby's WEBrick server to bypass reverse proxies and perform HTTP request smuggling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-25613?

CVE-2020-25613 is a high-severity vulnerability in Fedoraproject Fedora, published on 6 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-444

Which versions are affected by CVE-2020-25613?

8 open source packages ship an affected version, including webrick, ruby and ruby-min. It affects 3 products.

PackageAffectedFixed in
webrick RubyGemsAll versions1.4.4
webrick RubyGemsAll versions1.4.4
webrick RubyGemsFrom 1.5.01.5.1
webrick RubyGemsFrom 1.5.01.5.1
webrick RubyGemsFrom 1.6.01.6.1
webrick RubyGemsFrom 1.6.01.6.1
2 more packages
ruby BitnamiAll versions2.5.9, 2.6.7, 2.7.2
ruby-min BitnamiAll versions2.5.9, 2.6.7, 2.7.2
Linux distribution packages (16)
ruby2.5 SUSE:Enterprise Storage 6All versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Micro 5.0All versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Server 15 SP1-BCLAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Server 15-LTSSAll versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Server for SAP Applications 15All versions2.5.8-4.14.1
ruby2.5 SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions2.5.8-4.14.1
ruby2.5 SUSE:Manager Proxy 4.0All versions2.5.8-4.14.1
ruby2.5 SUSE:Manager Retail Branch Server 4.0All versions2.5.8-4.14.1
ruby2.5 SUSE:Manager Server 4.0All versions2.5.8-4.14.1
ruby2.5 openSUSE:Leap 15.2All versions2.5.8-lp152.2.3.1

Products include Fedoraproject Fedora, Ruby-Lang Ruby, Ruby-Lang Webrick.

How do I fix CVE-2020-25613?

Upgrade webrick to a fixed version for your release line: 1.4.4, 1.5.1 or 1.6.1.

Is CVE-2020-25613 being exploited?

There is no known exploitation of CVE-2020-25613 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2020-25613, BIT-ruby-2020-25613, BIT-ruby-min-2020-25613, CLEANSTART-2026-PR43323, DEBIAN-CVE-2020-25613, DLA-2391-1 and 7 more.

Is CVE-2020-25613 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free