ZDI-CAN-21876: ZDI-25-414: Ruby WEBrick read_header HTTP Request Smuggling Vulnerability

Published Jun 23, 2025
·
Updated

This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The specific flaw exists within the readheaders method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests.

Other sources

This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The ZDI has assigned a CVSS rating of 6.5. The following CVEs are assigned: CVE-2025-6442.

ZDI

Affected Software

2 affected components
Ruby WEBrick
Ruby WEBrick

Event History

Jun 23, 2025
Advisory Published
via ZDI·05:00 AM
Data Sourced
via ZDI·05:00 AM
Description
Jun 27, 2025
Advisory Published
via ZDI·10:08 PM
Data Sourced
via ZDI·10:08 PM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-CAN-21876?

The severity of ZDI-CAN-21876 is rated at 6.5 on the CVSS scale.

2

How do I fix ZDI-CAN-21876?

To fix ZDI-CAN-21876, ensure you update to the latest version of Ruby WEBrick that addresses this vulnerability.

3

Who is affected by ZDI-CAN-21876?

ZDI-CAN-21876 affects installations of Ruby WEBrick that are deployed behind specific types of HTTP proxies.

4

What type of attacks does ZDI-CAN-21876 enable?

ZDI-CAN-21876 allows remote attackers to smuggle arbitrary HTTP requests.

5

Is ZDI-CAN-21876 easy to exploit?

ZDI-CAN-21876 can be exploited under specific conditions, depending on the configuration of the HTTP proxy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203