HTTP Request Smuggling Affecting ruby-protocol-http1 package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.09% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-RUBYPROTOCOLHTTP1-5838245
  • published11 Aug 2023
  • disclosed4 Aug 2023

Introduced: 4 Aug 2023

CVE-2023-38697  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 ruby-protocol-http1.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-protocol-http1 package and not the ruby-protocol-http1 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1