# CVE-2023-38697: protocol-http1 HTTP Request/Response Smuggling vulnerability

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2023-08-03T16:36:34.000Z
- Modified: 2026-09-10T03:49:57.759Z
- Also known as: GHSA-6jwc-qr2q-7xwj
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- socketry protocol-http1: < 0.15.1; before 0.15.1
- protocol-http1 (RubyGems): before 0.15.1

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/socketry/protocol-http1/security/advisories/GHSA-6jwc-qr2q-7xwj> (vendor-advisory, web)
- <https://github.com/socketry/protocol-http1/pull/20> (issue-tracking, web)
- <https://github.com/socketry/protocol-http1/commit/e11fc164fd2b36f7b7e785e69fa8859eb06bcedd> (patch, 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)

## Sources

- CVE List: [CVE-2023-38697](https://www.cve.org/CVERecord?id=CVE-2023-38697), CVE Terms of Use, modified 2024-10-04
- GitHub Advisory Database: [GHSA-6jwc-qr2q-7xwj](https://github.com/advisories/GHSA-6jwc-qr2q-7xwj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38697](https://nvd.nist.gov/vuln/detail/CVE-2023-38697), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38697 · Whole record: https://cve.day/CVE-2023-38697.json · Rebuilt by cve.day 2026-11-25T22:58:26.768Z
