CVE-2023-38697
MEDIUM 5.3CVSS 3.1protocol-http1 HTTP Request/Response Smuggling vulnerability
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.
- Published
- 4 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-444
- Also known as
- GHSA-6jwc-qr2q-7xwj
- Sources
- NVDJSONOSV GHSA-6jwc-qr2q-7xwjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | socketry | protocol-http1cpe:2.3:a:socketry:protocol-http1:*:*:*:*:*:*:*:* |
< 0.15.1 | 0.15.1 |
| OSV | RubyGems | protocol-http1 | < 0.15.1 | 0.15.1 |
References
- https://github.com/socketry/protocol-http1/commit/e11fc164fd2b36f7b7e785e69fa8859eb06bcedd · Patch, WEB
- https://github.com/socketry/protocol-http1/pull/20 · Issue Tracking, WEB
- https://github.com/socketry/protocol-http1/security/advisories/GHSA-6jwc-qr2q-7xwj · Vendor Advisory, WEB
- https://www.rfc-editor.org/rfc/rfc9112#name-chunked-transfer-coding · Technical Description, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38697 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/protocol-http1/CVE-2023-38697.yml · WEB
- https://github.com/socketry/protocol-http1 · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Aug 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Aug 2023)