Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-47220

CVE-2024-47220: WEBrick HTTP Request Smuggling Vulnerability

CVE-2024-47220 is an HTTP request smuggling flaw in WEBrick toolkit through version 1.8.1 for Ruby that exploits conflicting Content-Length and Transfer-Encoding headers. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-47220 Overview

CVE-2024-47220 is an HTTP Request Smuggling vulnerability discovered in the WEBrick toolkit through version 1.8.1 for Ruby. The vulnerability allows attackers to smuggle HTTP requests by providing both a Content-Length header and a Transfer-Encoding header in the same request, enabling malicious requests to be embedded within legitimate ones.

Critical Impact

This vulnerability enables attackers to bypass security controls, poison web caches, and potentially gain unauthorized access to protected resources by embedding hidden requests within legitimate HTTP traffic.

Affected Products

  • WEBrick toolkit versions up to and including 1.8.1
  • Ruby applications utilizing vulnerable WEBrick versions as a web server

Discovery Timeline

  • 2024-09-22 - CVE-2024-47220 published to NVD
  • 2025-01-09 - Last updated in NVD database

Technical Details for CVE-2024-47220

Vulnerability Analysis

HTTP Request Smuggling occurs when a web server or proxy does not properly handle ambiguous HTTP requests containing conflicting length indicators. In the case of CVE-2024-47220, WEBrick fails to properly validate and reject requests that include both Content-Length and Transfer-Encoding headers simultaneously.

According to RFC 7230, when both headers are present, compliant HTTP implementations must either reject the request or ignore the Content-Length header entirely. WEBrick's improper handling of this condition creates a desynchronization vulnerability that attackers can exploit to inject malicious requests.

The vendor has noted that "WEBrick should not be used in production," indicating this library is intended for development and testing purposes only. However, applications that inadvertently deploy WEBrick in production environments remain vulnerable to this attack.

Root Cause

The root cause of this vulnerability lies in WEBrick's HTTP request parsing logic, which fails to properly handle the edge case where both Content-Length and Transfer-Encoding headers are present in the same request. This violates HTTP/1.1 specification requirements and creates an ambiguity that attackers can exploit to desynchronize request boundaries between front-end proxies and the back-end WEBrick server.

Attack Vector

An attacker can craft a malicious HTTP request containing both Content-Length and Transfer-Encoding: chunked headers. When this request passes through a reverse proxy or load balancer to a WEBrick backend, the two systems may interpret the request boundaries differently. This allows the attacker to embed a second, hidden request (such as GET /admin HTTP/1.1) within what appears to be a legitimate request (such as POST /user HTTP/1.1).

The smuggled request can then be processed by the backend server in the context of another user's session, potentially leading to unauthorized access to protected resources, cache poisoning, or session hijacking.

Detection Methods for CVE-2024-47220

Indicators of Compromise

  • HTTP requests containing both Content-Length and Transfer-Encoding headers simultaneously
  • Unusual access patterns to restricted endpoints such as /admin without proper authentication flow
  • Log entries showing mismatched request methods or unexpected request sequences
  • Evidence of cache poisoning with unauthorized content being served to legitimate users

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing both Content-Length and Transfer-Encoding headers
  • Enable detailed HTTP request logging on both proxy and backend servers to identify request desynchronization
  • Monitor for anomalous access patterns to sensitive endpoints that bypass normal authentication workflows
  • Deploy intrusion detection system (IDS) signatures specifically targeting HTTP request smuggling patterns

Monitoring Recommendations

  • Configure alerts for HTTP requests with conflicting length headers arriving at WEBrick instances
  • Establish baseline metrics for request patterns and alert on deviations that may indicate smuggling attempts
  • Review web server and proxy logs regularly for signs of request boundary desynchronization
  • Monitor for unexpected cache behavior or content served from cache that does not match expected responses

How to Mitigate CVE-2024-47220

Immediate Actions Required

  • Upgrade WEBrick to a patched version that addresses this vulnerability - see GitHub Pull Request #146 for the fix
  • Replace WEBrick with a production-grade web server such as Puma, Unicorn, or Passenger for production deployments
  • Configure front-end proxies and load balancers to reject or normalize requests containing both Content-Length and Transfer-Encoding headers
  • Audit existing Ruby applications to identify any unintended use of WEBrick in production environments

Patch Information

A fix for this vulnerability has been committed to the WEBrick repository. The patch is available in GitHub Pull Request #146. Organizations should update to a patched version of WEBrick or migrate to a production-ready web server. For additional context and discussion, refer to GitHub Issue #145.

Workarounds

  • Deploy a reverse proxy (such as nginx or HAProxy) in front of WEBrick configured to reject requests with both Content-Length and Transfer-Encoding headers
  • Implement request validation at the application layer to detect and reject malformed requests before they reach WEBrick
  • Use network-level controls to restrict direct access to WEBrick instances, ensuring all traffic passes through properly configured proxies
  • As a temporary measure, restrict WEBrick usage to development and testing environments only until patching is complete
bash
# Example nginx configuration to reject ambiguous requests
# Add to nginx server block to mitigate HTTP request smuggling
if ($http_transfer_encoding ~* "chunked" ) {
    set $smuggle_check "${smuggle_check}TE";
}
if ($http_content_length) {
    set $smuggle_check "${smuggle_check}CL";
}
if ($smuggle_check = "TECL") {
    return 400;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechWebrick

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.08%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub Issue #145

  • GitHub Comment #2369994610

  • GitHub Comment #2372838285

  • GitHub Pull Request Commit
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English