GitHub Advisoryadvisory · RubyGems
GHSA-gwfg-cqmg-cf8f WEBRick vulnerable to HTTP Request/Response Smuggling
HIGH
Official page ↗
- Aliases
- CVE-2020-25613
- Ecosystem
- RubyGems
- Packages
- webrick
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-444
- Reviewed
- 2023-03-08
Affected packages
• RubyGems webrick: >= 1.6.0, < 1.6.1 → fixed in 1.6.1
• RubyGems webrick: >= 1.5.0, < 1.5.1 → fixed in 1.5.1
• RubyGems webrick: < 1.4.4 → fixed in 1.4.4
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.
Related
Alias · CVE (1)
- 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. vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25613 advisory
- https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d web
- https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1 web
- https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7 web
- https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9 web
- https://hackerone.com/reports/965267 web
- https://github.com/ruby/webrick package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml web
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV web
- https://security.gentoo.org/glsa/202401-27 web
- https://security.netapp.com/advisory/ntap-20210115-0008 web
- https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613 web