CVE-2023-38697
Summary
| CVE | CVE-2023-38697 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-04 18:15:00 UTC |
| Updated | 2023-08-10 15:34:00 UTC |
| Description | protocol-http1 provides a low-level implementation of the HTTP/1 protocol. RFC 9112 Section 7.1 defined the format of chunk size, chunk data and chunk extension. The value of Content-Length header should be a string of 0-9 digits, the chunk size should be a string of hex digits and should split from chunk data using CRLF, and the chunk extension shouldn't contain any invisible character. However, Falcon has following behaviors while disobey the corresponding RFCs: accepting Content-Length header values that have `+` prefix, accepting Content-Length header values that written in hexadecimal with `0x` prefix, accepting `0x` and `+` prefixed chunk size, and accepting LF in chunk extension. This behavior can lead to desync when forwarding through multiple HTTP parsers, potentially results in HTTP request smuggling and firewall bypassing. This issue is fixed in `protocol-http1` v0.15.1. There are no known workarounds. |
Risk And Classification
Problem Types: CWE-444
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Socketry | Protocol-http1 | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| RFC 9112: HTTP/1.1 | MISC | www.rfc-editor.org | |
| Strict validation of content length and chunk length. · Advisory · socketry/protocol-http1 · GitHub | MISC | github.com | |
| Strict validation of content length and chunk length. by ioquatix · Pull Request #20 · socketry/protocol-http1 · GitHub | MISC | github.com | |
| Strict validation of content length and chunk length. (#20) · socketry/protocol-http1@e11fc16 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.