CVE-2020-25613
HIGH7.5EPSS 0.27%jruby - security update
Published: 5/24/2022Modified: 4/28/2026
Also known as:GHSA-gwfg-cqmg-cf8fALPINE-CVE-2020-25613BIT-ruby-2020-25613BIT-ruby-min-2020-25613DEBIAN-CVE-2020-25613DLA-2392-1
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.
Affected packages (8)
- Alpine/rubyfrom 0, < 2.5.8-r1
- Bitnami/rubyfrom 0, < 2.5.9, >= 2.6.0, < 2.6.7, >= 2.7.0, < 2.7.2
- Bitnami/ruby-minfrom 0, < 2.5.9, >= 2.6.0, < 2.6.7, >= 2.7.0, < 2.7.2
- Debian/jrubyfrom 0, < 9.3.9.0+ds-1
- Debian/jrubyfrom 0, < 1.7.26-1+deb9u3
- Debian/ruby2.3from 0, < 2.3.3-1+deb9u9
- Debian/ruby2.7from 0, < 2.7.1-4
- RubyGems/webrick>= 1.6.0, < 1.6.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (22)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-25613
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2020-25613
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-25613
- PATCHhttps://github.com/ruby/webrick
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml
- WEBhttps://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d
- WEBhttps://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1
- WEBhttps://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
- WEBhttps://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9
- WEBhttps://hackerone.com/reports/965267
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV
- WEBhttps://security.gentoo.org/glsa/202401-27
- WEBhttps://security.netapp.com/advisory/ntap-20210115-0008
- WEBhttps://security.netapp.com/advisory/ntap-20210115-0008/
- WEBhttps://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
- WEBhttps://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/