{"schema_version":"1.7.3","id":"GHSA-gwfg-cqmg-cf8f","published":"2022-05-24T17:30:10Z","modified":"2025-05-29T23:24:50.525424Z","aliases":["BIT-ruby-2020-25613","BIT-ruby-min-2020-25613","CVE-2020-25613"],"summary":"WEBRick vulnerable to HTTP Request/Response Smuggling","details":"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.","affected":[{"package":{"name":"webrick","ecosystem":"RubyGems","purl":"pkg:gem/webrick"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.1"}]}],"versions":["1.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gwfg-cqmg-cf8f/GHSA-gwfg-cqmg-cf8f.json"}},{"package":{"name":"webrick","ecosystem":"RubyGems","purl":"pkg:gem/webrick"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.0"},{"fixed":"1.5.1"}]}],"versions":["1.5.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gwfg-cqmg-cf8f/GHSA-gwfg-cqmg-cf8f.json"}},{"package":{"name":"webrick","ecosystem":"RubyGems","purl":"pkg:gem/webrick"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4"}]}],"versions":["1.3.1","1.4.0","1.4.0.beta1","1.4.1","1.4.2","1.4.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gwfg-cqmg-cf8f/GHSA-gwfg-cqmg-cf8f.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25613"},{"type":"WEB","url":"https://github.com/ruby/webrick/commit/076ac636bf48b7a492887ce4de7041de23e6c00d"},{"type":"WEB","url":"https://github.com/ruby/webrick/commit/7618049fa57ddad2efff2a7bc7dad7d2d8a311b1"},{"type":"WEB","url":"https://github.com/ruby/webrick/commit/8946bb38b4d87549f0d99ed73c62c41933f97cc7"},{"type":"WEB","url":"https://github.com/ruby/webrick/commit/af2efdcdf826f25592202d187c53963e7932e4b9"},{"type":"WEB","url":"https://hackerone.com/reports/965267"},{"type":"PACKAGE","url":"https://github.com/ruby/webrick"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2020-25613.yml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFP3E7KXXT3H3KA6CBZPUOGA5VPFARRJ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTZURYROG3FFED3TYCQOBV66BS4K6WOV"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210115-0008"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613"}],"database_specific":{"cwe_ids":["CWE-444"],"github_reviewed":true,"github_reviewed_at":"2023-03-08T19:59:16Z","nvd_published_at":"2020-10-06T13:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}