CVE-2020-25613
ruby: Potential HTTP request smuggling in WEBrick
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-444
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | ruby | <2.5.9>=2.6.0, <2.6.7>=2.7.0, <2.7.2 | 2.5.92.6.72.7.2 |
| Bitnami | ruby-min | <2.5.9>=2.6.0, <2.6.7>=2.7.0, <2.7.2 | 2.5.92.6.72.7.2 |
| Julia | ruby_jll | >=0 | No fix yet |
| RubyGems | webrick | >=1.6.0, <1.6.1>=1.5.0, <1.5.1<1.4.4 | 1.6.11.5.11.4.4 |
Open a package to see all its vulnerabilities.
Operating systems · 325 fixes
Oracle Linux 1 release · 24 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | rubygem-net-telnet | 0.2.0-136.module+el8.4.0+20239+cbf59dc8 |
| 8 | rubygem-xmlrpc | 0.3.0-136.module+el8.4.0+20239+cbf59dc8 |
| 8 | rubygem-abrt +1 | 0.4.0-1.module+el8.3.0+7760+537395ec |
| 8 | rubygem-mysql2 +1 | 0.5.3-1.module+el8.4.0+20239+cbf59dc8 |
| 8 | rubygem-io-console | 0.5.6-136.module+el8.4.0+20239+cbf59dc8 |
| 8 | rubygem-power-assert | 1.1.7-136.module+el8.4.0+20239+cbf59dc8 |
18 more rows
Red Hat 5 releases · 72 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ruby +20 | wont fix | — |
| 7 | rh-ruby25-rubygem-net-telnet | 0:0.1.1-9.el7 | RHSA-2021:2104 |
| 7 | rh-ruby26-rubygem-net-telnet | 0:0.2.0-119.el7 | RHSA-2021:2230 |
| 7 | rh-ruby27-rubygem-net-telnet | 0:0.2.0-129.el7 | RHSA-2021:2229 |
| 7 | rh-ruby26-rubygem-xmlrpc | 0:0.3.0-119.el7 | RHSA-2021:2230 |
| 7 | rh-ruby27-rubygem-xmlrpc | 0:0.3.0-129.el7 | RHSA-2021:2229 |
154 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.6.1 | SUSE-SU-2021:3837-1 |
SUSE Linux Enterprise Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.0 | libruby2-5-2-5 +2 | 2.5.8-4.14.1 | SUSE-SU-2021:0933-1 |
alma 2 releases · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (ruby:2.6) | rubygem-abrt +1 | 0.3.0-4.module_el8.5.0+259+8cec6917 |
| 8 (ruby:2.6) | rubygem-mysql2-doc | 0.5.2-1.module_el8.5.0+250+ba22dbf7 |
| 8 (ruby:2.6) | rubygem-mysql2 | 0.5.2-1.module_el8.5.0+2623+08a8ba32 |
| 8 (ruby:2.6) | rubygem-pg-doc | 1.1.4-1.module_el8.5.0+250+ba22dbf7 |
| 8 (ruby:2.6) | rubygem-pg | 1.1.4-1.module_el8.5.0+2623+08a8ba32 |
| 8 (ruby:2.6) | rubygem-mongo +1 | 2.8.0-1.module_el8.5.0+250+ba22dbf7 |
7 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby | 2.7.2-r0 |
| 3.23 | ruby | 2.7.2-r0 |
| 3.24 | ruby | 2.7.2-r0 |
| edge | ruby | 2.7.2-r0 |
debian 6 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | ruby2-5 | 2.5.5-3+deb10u3 |
| 10 | jruby | 9.1.17.0-3+deb10u1 |
| 11 | ruby2-7 | 2.7.1-4 |
| 12 | jruby | 9.3.9.0+ds-1 |
| 13 | jruby | 9.3.9.0+ds-1 |
| 14 | jruby | 9.3.9.0+ds-1 |
2 more rows
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jruby | 9.3.9.0+ds-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libruby2-7-2-7 +5 | 2.7.3-3.2 | openSUSE-SU-2024:11310-1 |
rocky 5 releases · 22 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | rubygem-abrt +1 | 0.3.0-4.module+el8.4.0+592+03ff458a |
| 8 | rubygem-abrt +1 | 0.4.0-1.module+el8.4.0+594+11b6673a |
| 8 | rubygem-mysql2 +1 | 0.4.10-4.module+el8.4.0+592+03ff458a |
| 8 | rubygem-mysql2 +1 | 0.5.2-1.module+el8.4.0+593+8d7f9f0c |
| 8 | rubygem-mysql2 +1 | 0.5.3-1.module+el8.4.0+594+11b6673a |
| 8 | rubygem-pg +1 | 1.0.0-2.module+el8.4.0+592+03ff458a |
102 more rows
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | ruby2-5 | 2.5.1-1ubuntu1.8 |
| 18.04-ESM | ruby2-5 | 2.5.1-1ubuntu1.8 |
| 20.04 | ruby2-7 | 2.7.0-5ubuntu1.3 |
| 20.04-ESM | ruby2-7 | 2.7.0-5ubuntu1.3 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:2588
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-25613
- bugzilla.redhat.com https://bugzilla.redhat.com/1651826
- bugzilla.redhat.com https://bugzilla.redhat.com/1773728
- bugzilla.redhat.com https://bugzilla.redhat.com/1789407
- bugzilla.redhat.com https://bugzilla.redhat.com/1789556
- bugzilla.redhat.com https://bugzilla.redhat.com/1793683
- bugzilla.redhat.com https://bugzilla.redhat.com/1827500
- bugzilla.redhat.com https://bugzilla.redhat.com/1833291
- bugzilla.redhat.com https://bugzilla.redhat.com/1883623
Show all 59 references
- bugzilla.redhat.com https://bugzilla.redhat.com/1947526
- bugzilla.redhat.com https://bugzilla.redhat.com/1952627
- bugzilla.redhat.com https://bugzilla.redhat.com/1954968
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1651826
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1773728
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1789407
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1789556
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1793683
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1827500
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1833291
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1883623
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1947526
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1952627
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1954968
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15845
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16201
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16254
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3881
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10663
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10933
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25613
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28965
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2021-2588.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:2588
- github.com https://github.com/ruby/webrick
- github.com https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d
- github.com https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1
- github.com https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
- github.com https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml
- hackerone.com https://hackerone.com/reports/965267
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-25613.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-2588.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-25613
- security.gentoo.org https://security.gentoo.org/glsa/202401-27
- security.netapp.com https://security.netapp.com/advisory/ntap-20210115-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20210115-0008/
- ubuntu.com https://ubuntu.com/security/notices/USN-4882-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-25613
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.