HTTP/1 Protocol Vulnerability in ruby-protocol-http1: Potential for Request Smuggling

ruby-protocol-http1 Updated 02 Oct 2025

Summary

04/08/2023
N/A
No i
Medium
5.8

UBUNTU-CVE-2023-38697: protocol-http1 provides a low-level implementation of the HTTP/1 protocol. Affects ruby-protocol-http1 versions 0.13.1-1 – 0.14.2-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ruby-protocol-http1 package provides a low-level implementation of the HTTP/1 protocol, which is essential for web communication. It adheres to the specifications outlined in various RFCs, enabling applications to handle HTTP requests and responses efficiently. However, this package has been found to exhibit behaviors that deviate from the expected standards, leading to security vulnerabilities.

Vulnerability Detail

The vulnerability arises from the improper handling of HTTP headers and chunked transfer encoding as defined in RFC 9112 Section 7.1. Specifically, the package accepts Content-Length header values with a '+' prefix, hexadecimal representations prefixed with '0x', and allows invisible characters in chunk extensions. These deviations can lead to desynchronization when requests are processed by multiple HTTP parsers, potentially resulting in HTTP request smuggling and bypassing of firewalls. The severity of this vulnerability is reflected in its CVSS score of 5.8, indicating a medium risk to affected systems.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There are no known workarounds for this vulnerability. The best course of action is to update to the patched version as soon as possible.

Conclusion

The ruby-protocol-http1 package has a critical vulnerability that can lead to serious security issues such as HTTP request smuggling. It is essential for users to update to the latest patched version to mitigate these risks. Regular monitoring and updates are crucial for maintaining the security of applications.

See every vulnerability recorded for ruby-protocol-http1 →

Share this vulnerability

FAQ

The vulnerability can lead to HTTP request smuggling, which may allow attackers to bypass security measures and manipulate web traffic.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The affected versions include ruby-protocol-http1 0.14.2-1 and 0.14.6-1 for Ubuntu 22.04, 24.04, and 25.04.

Yes, not updating may expose your application to potential attacks that exploit this vulnerability, leading to data breaches or unauthorized access.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json, providing real-time insights.

Related vulnerabilities

Recent vulnerabilities recorded for ruby-protocol-http1.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback