GHSA-r995-q44h-hr64

Suggest an improvement
Source
https://github.com/advisories/GHSA-r995-q44h-hr64
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-r995-q44h-hr64/GHSA-r995-q44h-hr64.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r995-q44h-hr64
Aliases
Published
2025-06-26T21:31:13Z
Modified
2025-06-30T13:25:59.801484Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N CVSS Calculator
Summary
Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling
Details

Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions.

The specific flaw exists within the read_headers method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests. Was ZDI-CAN-21876.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2025-06-25T17:15:40Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-444"
    ],
    "github_reviewed_at": "2025-06-27T21:58:15Z"
}
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.8.2

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
1.6.1
1.7.0
1.8.0
1.8.1