CVE-2020-25613
WEBRick vulnerable to HTTP Request/Response Smuggling
Reported by mitre · Published October 6, 2020
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygem-io-console | Amazon Linux | 0.4.2-36.amzn2.0.2 |
| rubygem-rake | Amazon Linux | 0.9.6-36.amzn2.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | rubygem-io-console | 0 |
| amazon:2 | rubygem-rake | 0 |
| n/a | n/a | * |
| amazon:2 | ruby-irb | 0 |
| amazon:2 | ruby-tcltk | 0 |
| amazon:2 | rubygem-minitest | 0 |
| amazon:2 | rubygem-rdoc | 0 |
| amazon:2 | rubygems | 0 |
| amazon:2 | rubygem-json | 0 |
| amazon:2 | rubygem-psych | 0 |
| amazon:2 | ruby-libs | 0 |
| amazon:2 | rubygem-bigdecimal | 0 |
| amazon:2 | rubygems-devel | 0 |
| amazon:2 | ruby-devel | 0 |
| amazon:2 | ruby-doc | 0 |
| alpine | ruby | 0, 0, 0 |
| amazon:2 | ruby | 0 |
| RubyGems | webrick | 1.6.0, 1.6.0, 1.5.0 |
Timeline
- Sep 28, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-25613
vulnetix vdb fixes CVE-2020-25613
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-25613/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2020-02ca18c2a0 vendor-advisory
- FEDORA-2020-fe2a7d7390 vendor-advisory
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update mailing-list
- GLSA-202401-27 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-25613 advisory
- https://github.com/advisories/GHSA-gwfg-cqmg-cf8f advisory
- https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d patch
- https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1 patch
- https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9 patch
- https://github.com/ruby/webrick url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV url
- https://security.netapp.com/advisory/ntap-20210115-0008 advisory
…and 1 more