An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 8 fixed, 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | webrick (RubyGems) | 1.6.0 to before 1.6.1 | 1.6.1 | Patch available | GHSA-gwfg-cqmg-cf8f |
| — | webrick (RubyGems) | 1.5.0 to before 1.5.1 | 1.5.1 | Patch available | GHSA-gwfg-cqmg-cf8f |
| — | webrick (RubyGems) | before 1.4.4 | 1.4.4 | Patch available | GHSA-gwfg-cqmg-cf8f |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- webrick (RubyGems) Vendor— Affected 1.6.0 to before 1.6.1 Fixed in 1.6.1 Patch available GHSA-gwfg-cqmg-cf8f
- webrick (RubyGems) Vendor— Affected 1.5.0 to before 1.5.1 Fixed in 1.5.1 Patch available GHSA-gwfg-cqmg-cf8f
- webrick (RubyGems) Vendor— Affected before 1.4.4 Fixed in 1.4.4 Patch available GHSA-gwfg-cqmg-cf8f
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | up to 2.5.8; 2.6.0 – 2.6.6; 2.7.0 – 2.7.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:webrick:*:*:*:*:*:ruby:*:* | up to 1.6.0 | Vulnerable | ruby |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions up to 2.5.8; 2.6.0 – 2.6.6; 2.7.0 – 2.7.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:webrick:*:*:*:*:*:ruby:*:* Versions up to 1.6.0 Vulnerable ·ruby
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-gwfg-cqmg-cf8f webrick (RubyGems) Fixed in 1.6.1 Advisory →
- Fix · GHSA-gwfg-cqmg-cf8f webrick (RubyGems) Fixed in 1.5.1 Advisory →
- Fix · GHSA-gwfg-cqmg-cf8f webrick (RubyGems) Fixed in 1.4.4 Advisory →
Red Hat 11 advisories
- RHSA-2026:8838 Released 2026-04-17 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
- RHSA-2026:7307 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
- RHSA-2026:7305 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10
Show 8 more Red Hat advisories
- RHSA-2022:0582 Released 2022-02-21 · Red Hat rating Importantruby:2.6 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) ruby-2.6.9-107.module+el8.2.0+14086+86d863af.aarch64::ruby:2.6, ruby-2.6.9-107.module+el8.2.0+14086+86d863af.i686::ruby:2.6, ruby-2.6.9-107.module+el8.2.0+14086+86d863af.ppc64le::ruby:2.6 +47
- RHSA-2022:0581 Released 2022-02-21 · Red Hat rating Importantruby:2.6 security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.1) ruby-2.6.9-107.module+el8.1.0+14088+04cf326e.i686::ruby:2.6, ruby-2.6.9-107.module+el8.1.0+14088+04cf326e.ppc64le::ruby:2.6, ruby-2.6.9-107.module+el8.1.0+14088+04cf326e.src::ruby:2.6 +47
- RHSA-2021:2587 Released 2021-06-29 · Red Hat rating Moderateruby:2.5 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-107.module+el8.4.0+10822+fe4fffb1.aarch64::ruby:2.5, ruby-2.5.9-107.module+el8.4.0+10822+fe4fffb1.i686::ruby:2.5, ruby-2.5.9-107.module+el8.4.0+10822+fe4fffb1.ppc64le::ruby:2.5 +47
- RHSA-2021:2584 Released 2021-06-29 · Red Hat rating Moderateruby:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.7.3-136.module+el8.4.0+10728+4c884998.aarch64::ruby:2.7, ruby-2.7.3-136.module+el8.4.0+10728+4c884998.i686::ruby:2.7, ruby-2.7.3-136.module+el8.4.0+10728+4c884998.ppc64le::ruby:2.7 +47
- RHSA-2021:2588 Released 2021-06-29 · Red Hat rating Moderateruby:2.6 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.6.7-107.module+el8.4.0+10830+bbd85cce.aarch64::ruby:2.6, ruby-2.6.7-107.module+el8.4.0+10830+bbd85cce.i686::ruby:2.6, ruby-2.6.7-107.module+el8.4.0+10830+bbd85cce.ppc64le::ruby:2.6 +47
- RHSA-2021:2229 Released 2021-06-03 · Red Hat rating Moderaterh-ruby27-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby27-ruby-2.7.3-129.el7, rh-ruby27-ruby-devel-2.7.3-129.el7, rh-ruby27-ruby-doc-2.7.3-129.el7 +19
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-ruby27-ruby-2.7.3-129.el7, rh-ruby27-ruby-devel-2.7.3-129.el7, rh-ruby27-ruby-doc-2.7.3-129.el7 +19
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby27-ruby-2.7.3-129.el7, rh-ruby27-ruby-devel-2.7.3-129.el7, rh-ruby27-ruby-doc-2.7.3-129.el7 +19
- RHSA-2021:2230 Released 2021-06-03 · Red Hat rating Moderaterh-ruby26-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby26-ruby-2.6.7-119.el7, rh-ruby26-ruby-devel-2.6.7-119.el7, rh-ruby26-ruby-doc-2.6.7-119.el7 +18
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-ruby26-ruby-2.6.7-119.el7, rh-ruby26-ruby-devel-2.6.7-119.el7, rh-ruby26-ruby-doc-2.6.7-119.el7 +18
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby26-ruby-2.6.7-119.el7, rh-ruby26-ruby-devel-2.6.7-119.el7, rh-ruby26-ruby-doc-2.6.7-119.el7 +18
- RHSA-2021:2104 Released 2021-05-26 · Red Hat rating Moderaterh-ruby25-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby-2.5.9-9.el7, rh-ruby25-ruby-devel-2.5.9-9.el7, rh-ruby25-ruby-doc-2.5.9-9.el7 +17
- 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-devel-2.5.9-9.el7, rh-ruby25-ruby-doc-2.5.9-9.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-ruby25-ruby-2.5.9-9.el7, rh-ruby25-ruby-devel-2.5.9-9.el7, rh-ruby25-ruby-doc-2.5.9-9.el7 +17
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby-2.5.9-9.el7, rh-ruby25-ruby-devel-2.5.9-9.el7, rh-ruby25-ruby-doc-2.5.9-9.el7 +17
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| CloudForms Management Engine 5 | Affected | No fix planned: Will not fix |
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Hardened Images | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:2584, RHSA-2021:2587, RHSA-2021:2588 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.1) | Fixed | RHSA-2022:0581 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2022:0582 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:2104, RHSA-2021:2229, RHSA-2021:2230 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2021:2104 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2021:2104, RHSA-2021:2229, RHSA-2021:2230 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2021:2104, RHSA-2021:2229, RHSA-2021:2230 |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2020-25613
- 2026-10-03 Alias added: GHSA-gwfg-cqmg-cf8f
- 2026-10-21 EPSS moved to the 90th–95th percentile
- 2026-10-25 EPSS moved to the 50th–90th percentile
- 2026-10-27 EPSS moved to the 90th–95th percentile
- 2026-11-02 Affected versions changed · Red Hat
References
Advisory 7
Other 12
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update
- https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d
- https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1
- https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9
- https://github.com/ruby/webrick
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- https://security.netapp.com/advisory/ntap-20210115-0008
- https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
Sources
- CVE-2020-25613 · CVE Program
- CVE-2020-25613 · NVD
- FIRST EPSS
- GHSA-gwfg-cqmg-cf8f · GitHub Advisory Database · CC BY 4.0
- CVE-2020-25613 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences