CVE-2020-25613 — Vulnerability in webrick — CVE Details
WEBRick vulnerable to HTTP Request/Response Smuggling
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.96%). Schedule for your next planned update.
Does your project use an affected webrick version?
Paste your Gemfile.lock to check it for CVE-2020-25613 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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.
Advisory Timeline
- First published May 24, 2022 (1647 days ago).
- Last revised May 29, 2025 — 1101 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install webrick -v 1.6.1
gem install webrick -v 1.5.1
gem install webrick -v 1.4.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-444
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25613ADVISORY
- https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00dWEB
- https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1WEB
- https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7WEB
- https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9WEB
- https://hackerone.com/reports/965267WEB
- https://github.com/ruby/webrickPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.ymlWEB
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOVWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOVWEB
- https://security.gentoo.org/glsa/202401-27WEB
- https://security.netapp.com/advisory/ntap-20210115-0008WEB
- https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613WEB
Frequently Asked Questions
- What is CVE-2020-25613?
- WEBRick vulnerable to HTTP Request/Response Smuggling. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2020-25613?
- CVE-2020-25613 affects webrick. It has a 4.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-25613 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 91.2% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2017-10784HIGH
WEBrick RCE Vulnerability
- CVE-2024-47220HIGH
HTTP Request Smuggling in ruby webrick
- CVE-2026-126366HIGH
msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM
- CVE-2026-126081HIGH
Action Pack: Possible Strong Parameters Bypass in Parameters#each_key
- CVE-2025-6442MEDIUM
Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling