Control Characters in HTTP/2 Pseudo-Headers Not Validated in swift-nio-http2
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apple | swift-nio-http2 | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Apple | Swiftnio Http/2 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4px2-pw77-vc85 | SwiftNIO HTTP/2: HTTP/2-to-HTTP/1 Request Smuggling via unvalidated :path pseudo-header in HTTP2ToHTTP1Codec |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.310% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/advisories/GHSA-4px2-pw77-vc85 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apple
Apple swiftnio Http/2 |
|
| Vendors & Products |
Apple
Apple swiftnio Http/2 |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Control Characters in HTTP/2 Pseudo-Headers Not Validated in swift-nio-http2 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-116 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | swift-nio-http2's HTTP/2-to-HTTP/1.1 codec did not validate pseudo-header values for control characters before placing them into the translated HTTP/1.1 message. swift-nio-http2 1.44.1 adds validation of all pseudo-header values (:path, :authority, :scheme, :method, and :status) at both the HPACK header validation layer and the HTTP/2-to-HTTP/1.1 translation layer. Requests or responses containing CR, LF, or NUL bytes in any pseudo-header value are now rejected with a connection error. This issue is fixed in swift-nio-http2 1.44.1. | |
| References |
|