Critical WEBrick Vulnerability in ruby-webrick Package: Potential HTTP Request Smuggling Attack

ruby-webrick Updated 03 Oct 2025

Summary

21/08/2025
N/A
Yes i
Unrated
Not published

USN-7709-1: ruby-webrick vulnerability. Affects ruby-webrick versions < 1.7.0-3ubuntu0.2. Fixed in 1.7.0-3ubuntu0.2. 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-webrick package is a Ruby library that provides an HTTP server toolkit. It is widely used for serving web applications and handling HTTP requests. WEBrick is known for its simplicity and ease of use, making it a popular choice for developers. However, it has been found to have a vulnerability that could allow attackers to exploit HTTP header parsing issues, particularly when deployed behind an HTTP proxy.

Vulnerability Detail

It was discovered that WEBrick incorrectly parsed HTTP headers. In configurations where WEBrick is placed behind an HTTP proxy, a remote attacker could possibly use this issue to perform an HTTP Request Smuggling attack. This vulnerability, identified as CVE-2025-6442, could lead to unauthorized access, data leakage, or other malicious activities, compromising the integrity and security of the web application.

How To Fix

Minimum fixed version

1.7.0-3ubuntu0.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby-webrick

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not possible, consider configuring your HTTP proxy to mitigate the risk of HTTP Request Smuggling attacks. This may involve adjusting proxy settings or implementing additional security measures to validate and sanitize incoming HTTP requests.

Conclusion

The ruby-webrick package has a critical vulnerability that could lead to HTTP Request Smuggling attacks. It is crucial to update to the patched versions as soon as possible to safeguard your applications. If immediate updates are not feasible, consider implementing workarounds to mitigate risks.

See every vulnerability recorded for ruby-webrick →

Share this vulnerability

FAQ

The vulnerability involves incorrect parsing of HTTP headers by WEBrick, which can lead to HTTP Request Smuggling attacks when placed behind an HTTP proxy.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply using a manifest file like package-lock.json, you can check for vulnerabilities in your application.

Exploiting this vulnerability could allow attackers to gain unauthorized access, leak sensitive data, or manipulate HTTP requests, compromising the security of your web application.

Yes, you can configure your HTTP proxy to validate and sanitize incoming requests to reduce the risk of HTTP Request Smuggling attacks.

Detailed information about this vulnerability can be found in the Ubuntu Security Notices, specifically USN-7709-1, which outlines the issue and its implications.

Related vulnerabilities

Recent vulnerabilities recorded for ruby-webrick.

How To Fix

Minimum fixed version

1.7.0-3ubuntu0.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby-webrick

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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