CVEfocus › CVE database › CVE-2023-38697

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

CVSS 5.8 MediumEPSS 0.8% (higher than 56% of CVEs)Published 2023-08-04Updated 2024-10-04Assigner: GitHub_M

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.

CWE-444

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-protocol-http1Fix pendingUBUNTU-CVE-2023-38697
Ubuntu 26.04ruby-protocol-http1Under investigationUBUNTU-CVE-2023-38697
Ubuntu 25.10ruby-protocol-http1Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-38697
Ubuntu 24.04ruby-protocol-http1Under investigationUBUNTU-CVE-2023-38697
Ubuntu 22.04ruby-protocol-http1Fix pendingUBUNTU-CVE-2023-38697
Debian 14ruby-protocol-http1Fixed0.35.2-1DEBIAN-CVE-2023-38697
Debian 12ruby-protocol-http1Fix pendingDEBIAN-CVE-2023-38697
RubyGems libraryprotocol-http1Fixed0.15.1GHSA-6jwc-qr2q-7xwj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.