CVE-2020-25613:
WEBRick vulnerable to HTTP Request/Response Smuggling
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.44821%
CWE
Published
5/24/2022
Updated
4/22/2024
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
webrick | rubygems | < 1.6.1 | 1.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub patch shows critical regex pattern changes in httprequest.rb:
- Transfer-Encoding header check was tightened from /chunked/ to /\Achunked\z/
- Connection header checks were anchored with \A and \z. These lax regex patterns in the original code allowed attackers to craft malicious headers that would be interpreted differently by WEBrick and reverse proxies, enabling request smuggling. The functions handling these header validations are directly implicated in the CVE description and patch changes.