CVE-2020-25613 json
WEBRick vulnerable to HTTP Request/Response Smuggling
published 6y ago modified 2mo ago also BIT-ruby-2020-25613 , BIT-ruby-min-2020-25613 , EUVD-2022-4026 , GHSA-gwfg-cqmg-cf8f , JLSEC-2026-1281
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems webrick 1.4.4, 1.5.1, 1.6.1
- bitnami ruby 2.5.9, 2.6.7, 2.7.2
- bitnami ruby-min 2.5.9, 2.6.7, 2.7.2
- jruby Debian 14, Debian 13, Debian 12 9.3.9.0+ds-1
debian advisories DEBIAN-CVE-2020-25613
- ruby2.3 Ubuntu 16.04 LTS 2.3.1-2~ubuntu16.04.15
- ruby2.5 Ubuntu 18.04 LTS 2.5.1-1ubuntu1.8
- ruby2.7 Ubuntu 20.04 LTS 2.7.0-5ubuntu1.3
ubuntu advisories UBUNTU-CVE-2020-25613
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2022:0582RHSA-2022:0581RHSA-2021:2588
- ruby2.1 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 2.1.9-19.6.1
- ruby2.5 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +12 more 2.5.8-4.14.1
suse advisories SUSE-SU-2021:3837-1SUSE-SU-2021:0933-1
- ruby2.7 openSUSE Tumbleweed 2.7.3-3.2
- ruby2.5 openSUSE Leap 15.2 2.5.8-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:11310-1openSUSE-SU-2021:0471-1
- rubygem-pg AlmaLinux 8 1.1.4-1.module_el8.5.0+250+ba22dbf7
- rubygem-pg AlmaLinux 8 1.1.4-1.module_el8.5.0+2623+08a8ba32
- rubygem-abrt AlmaLinux 8 0.3.0-4.module_el8.5.0+259+8cec6917
- rubygem-abrt AlmaLinux 8 0.3.0-4.module_el8.5.0+2623+08a8ba32
- rubygem-bson AlmaLinux 8 4.5.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-bson AlmaLinux 8 4.5.0-1.module_el8.5.0+250+ba22dbf7
- rubygem-mongo AlmaLinux 8 2.8.0-1.module_el8.5.0+250+ba22dbf7
- rubygem-mongo AlmaLinux 8 2.8.0-1.module_el8.5.0+2623+08a8ba32
almalinux advisories ALSA-2021:2588ALSA-2021:2587ALSA-2021:2584
- ruby Rocky Linux 8 2.6.7-107.module+el8.4.0+593+8d7f9f0c
- rubygem-pg Rocky Linux 8 1.1.4-1.module+el8.5.0+738+032c9c02
- rubygem-pg Rocky Linux 8 1.1.4-1.module+el8.4.0+446+80b53620
- rubygem-pg Rocky Linux 8 1.1.4-1.module+el8.4.0+593+8d7f9f0c
- rubygem-abrt Rocky Linux 8 0.3.0-4.module+el8.5.0+738+032c9c02
- rubygem-abrt Rocky Linux 8 0.3.0-4.module+el8.3.0+167+5c390590
- rubygem-abrt Rocky Linux 8 0.3.0-4.module+el8.4.0+592+03ff458a
- rubygem-bson Rocky Linux 8 4.5.0-1.module+el8.4.0+593+8d7f9f0c
rocky linux advisories RLSA-2021:2588RLSA-2021:2587RLSA-2021:2584
- ruby Alpine 3.10 2.5.8-r1
- ruby Alpine 3.11 2.6.6-r3
- ruby Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.7.2-r0
alpine advisories ALPINE-CVE-2020-25613
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/ruby/webrick@8946bb3 commit
- github.com/ruby/webrick@076ac63 commit
- github.com/ruby/webrick@7618049 commit
- github.com/ruby/webrick@af2efdc commit
Is CVE-2020-25613 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-25613 updated cvss 7.5
ruby: Potential HTTP request smuggling in WEBrick
-
Red Hat CloudForms Management Engine 5 ruby, ruby-irb, rubygems, ruby-libs, rubygem-rake, rubygem-rdoc, +10 more Red Hat 3scale API Management Platform 2 system, ruby-rack ruby-rackaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltkaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 ruby, ruby-irb, rubygems, ruby-libs, ruby-tcltk, rubygem-json, +6 moreaffected: no fix planned “Will not fix”
-
Red Hat Hardened Images rubyaffected: no fix available
-
Red Hat Enterprise Linux AppStream (v. 8) ruby 2.5.9-107.module+el8.4.0+10822+fe4fffb1, ruby 2.6.7-107.module+el8.4.0+10830+bbd85cce, ruby 2.7.3-136.module+el8.4.0+10728+4c884998, rubygem-pg 1.0.0-2.module+el8.1.0+3656+f80bfa1d, rubygem-pg 1.1.4-1.module+el8.1.0+3653+beb38eb0, rubygem-pg 1.2.3-1.module+el8.3.0+7192+4e3a532a, +63 morefixed: vendor fix RHSA-2021:2587
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) ruby 2.6.9-107.module+el8.1.0+14088+04cf326e, rubygem-pg 1.1.4-1.module+el8.1.0+3653+beb38eb0, ruby-libs 2.6.9-107.module+el8.1.0+14088+04cf326e, rubygem-abrt 0.3.0-4.module+el8.1.0+3653+beb38eb0, rubygem-bson 4.5.0-1.module+el8.1.0+3653+beb38eb0, rubygem-mongo 2.8.0-1.module+el8.1.0+3653+beb38eb0, +17 morefixed: vendor fix RHSA-2022:0581
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) ruby 2.6.9-107.module+el8.2.0+14086+86d863af, rubygem-pg 1.1.4-1.module+el8.1.0+3653+beb38eb0, ruby-libs 2.6.9-107.module+el8.2.0+14086+86d863af, rubygem-abrt 0.3.0-4.module+el8.1.0+3653+beb38eb0, rubygem-bson 4.5.0-1.module+el8.1.0+3653+beb38eb0, rubygem-mongo 2.8.0-1.module+el8.1.0+3653+beb38eb0, +17 morefixed: vendor fix RHSA-2022:0582
-
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-libs 3.4.8-31.1.hum1, ruby4.0-libs 4.0.0-33.3.hum1, ruby3.3-libs 3.3.10-23.1.hum1, +6 morefixed: vendor fix RHSA-2026:7305
show 2 moreshow fewer
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby 2.5.9-9.el7, rh-ruby26-ruby 2.6.7-119.el7, rh-ruby27-ruby 2.7.3-129.el7, rh-ruby25-ruby-irb 2.5.9-9.el7, rh-ruby25-ruby-libs 2.5.9-9.el7, rh-ruby25-rubygems 2.7.6.3-9.el7, +48 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby 2.5.9-9.el7, rh-ruby25-ruby-irb 2.5.9-9.el7, rh-ruby25-ruby-libs 2.5.9-9.el7, rh-ruby25-rubygems 2.7.6.3-9.el7, rh-ruby25-rubygem-json 2.1.0-9.el7, rh-ruby25-rubygem-psych 3.0.2-9.el7, +11 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-ruby25-ruby 2.5.9-9.el7, rh-ruby26-ruby 2.6.7-119.el7, rh-ruby27-ruby 2.7.3-129.el7, rh-ruby25-ruby-irb 2.5.9-9.el7, rh-ruby25-ruby-libs 2.5.9-9.el7, rh-ruby25-rubygems 2.7.6.3-9.el7, +48 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby 2.5.9-9.el7, rh-ruby26-ruby 2.6.7-119.el7, rh-ruby27-ruby 2.7.3-129.el7, rh-ruby25-ruby-irb 2.5.9-9.el7, rh-ruby25-ruby-libs 2.5.9-9.el7, rh-ruby25-rubygems 2.7.6.3-9.el7, +48 morefixed: vendor fix RHSA-2021:2104
-
Red Hat Hardened Images rubygem3.3-rbs 3.4.0-23.1.hum1, rubygem3.3-rss 0.3.1-23.1.hum1, rubygem3.4-rbs 3.8.0-31.1.hum1, rubygem3.4-rss 0.3.1-31.1.hum1, rubygem4.0-rss 0.3.2-33.3.hum1, rubygem3.3-irb 1.13.1-23.1.hum1, +45 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.82% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | webrick | >=1.6.0, <1.6.1 >=1.5.0, <1.5.1 <1.4.4 |
1.6.1 1.5.1 1.4.4 |
| bitnami | ruby | <2.5.9 >=2.6.0, <2.6.7 >=2.7.0, <2.7.2 |
2.5.9 2.6.7 2.7.2 |
| bitnami | ruby-min | <2.5.9 >=2.6.0, <2.6.7 >=2.7.0, <2.7.2 |
2.5.9 2.6.7 2.7.2 |
| julia | ruby_jll | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
web, patch, third-party-advisory, advisory
-
github.com
/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d
web
-
github.com
/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1
web
-
github.com
/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV/
vendor-advisory, web
-
security.gentoo.org
/glsa/202401-27
vendor-advisory, web
-
ruby-lang.org
/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/
vendor-advisory, advisory, web
-
hackerone.com
/reports/965267
web, permissions-required, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20210115-0008/
third-party-advisory, advisory, web
-
lists.debian.org
/debian-lts-announce/2023/04/msg00033.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2020-25613
advisory, web
-
github.com
/ruby/webrick
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
web
-
security.netapp.com
/advisory/ntap-20210115-0008
web
-
ruby-lang.org
/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
web
Sources
- CVE List CVE-2020-25613
- GitHub Advisory GHSA-gwfg-cqmg-cf8f
- NVD CVE-2020-25613
- OSV BIT-ruby-2020-25613
- OSV BIT-ruby-min-2020-25613
- OSV JLSEC-2026-1281
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.