Vulnerability
CVE-2020-25613
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.
36 advisories report this vulnerability, across 11 ecosystems.
Advisories in Red Hat
-
RHSA-2021:2104
Red Hat Security Advisory: rh-ruby25-ruby security, bug fix, and enhancement update
-
RHSA-2021:2229
Red Hat Security Advisory: rh-ruby27-ruby security, bug fix, and enhancement update
-
RHSA-2021:2230
Red Hat Security Advisory: rh-ruby26-ruby security, bug fix, and enhancement update
-
RHSA-2021:2584
Red Hat Security Advisory: ruby:2.7 security, bug fix, and enhancement update
-
RHSA-2021:2587
Red Hat Security Advisory: ruby:2.5 security, bug fix, and enhancement update
-
RHSA-2021:2588
Red Hat Security Advisory: ruby:2.6 security, bug fix, and enhancement update
-
RHSA-2022:0581
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2022:0582
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2026:7305
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:7307
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:8838
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2020-25613
ruby: Potential HTTP request smuggling in WEBrick
References
- https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7
- https://hackerone.com/reports/965267
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- 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://security.gentoo.org/glsa/202401-27
- https://security.netapp.com/advisory/ntap-20210115-0008/
- https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613/