GHSA-gwfg-cqmg-cf8f

Suggest an improvement
Source
https://github.com/advisories/GHSA-gwfg-cqmg-cf8f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gwfg-cqmg-cf8f/GHSA-gwfg-cqmg-cf8f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gwfg-cqmg-cf8f
Aliases
Published
2022-05-24T17:30:10Z
Modified
2024-04-22T19:16:30.824431Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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.

References

Affected packages

RubyGems / webrick

Package

Name
webrick
Purl
pkg:gem/webrick

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.1

Affected versions

1.*

1.3.1
1.4.0.beta1
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.1
1.6.0