The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-27982

CVE-2024-27982: Node.js HTTP Request Smuggling Vulnerability

CVE-2024-27982 is an HTTP request smuggling flaw in Node.js caused by malformed header parsing. Attackers can exploit misinterpreted content-length headers to inject malicious requests. This article covers technical details.

Updated: January 22, 2026

CVE-2024-27982 Overview

CVE-2024-27982 is an HTTP Request Smuggling vulnerability affecting the HTTP server component in Node.js. The flaw exists in how the Node.js HTTP parser handles malformed headers, specifically when a space character is placed before a Content-Length header. This improper parsing allows attackers to smuggle a second HTTP request within the body of the first request, potentially bypassing security controls, poisoning web caches, or hijacking other users' requests.

Critical Impact

Attackers can exploit this vulnerability to bypass front-end security controls, perform cache poisoning attacks, hijack other users' requests, or gain unauthorized access to sensitive data through HTTP request smuggling techniques.

Affected Products

  • Node.js HTTP Server (recent versions)
  • Systems running Node.js-based web applications behind reverse proxies
  • Applications relying on Node.js HTTP parsing for request handling

Discovery Timeline

  • 2024-05-07 - CVE-2024-27982 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-27982

Vulnerability Analysis

This vulnerability is classified as CWE-444 (Inconsistent Interpretation of HTTP Requests), commonly known as HTTP Request Smuggling. The root cause lies in how Node.js's HTTP server parses incoming request headers differently than front-end servers or proxies might parse them.

When a space character precedes the Content-Length header name (e.g., Content-Length: 50 instead of Content-Length: 50), Node.js fails to properly interpret this header. The server either ignores the malformed header or processes it inconsistently compared to other HTTP implementations in the request chain.

This parsing discrepancy enables attackers to craft requests where the front-end server and Node.js back-end disagree about request boundaries. By exploiting this disagreement, an attacker can inject a second, hidden request that gets processed by the back-end server while the front-end believes it's still part of the first request's body.

Root Cause

The vulnerability stems from insufficient validation and normalization of HTTP header names in Node.js's HTTP parser. According to HTTP specifications, header names should not contain leading whitespace. However, the Node.js HTTP server implementation failed to properly reject or handle headers with leading spaces, creating an inconsistency with how other HTTP components process the same request.

The parser's lenient handling of the space-prefixed Content-Length header meant that it would not recognize the header as a valid content-length indicator, potentially defaulting to Transfer-Encoding or other methods to determine the request body size, while upstream servers correctly parsed the header.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends a specially crafted HTTP request to a Node.js server that sits behind a reverse proxy or load balancer. The request contains a Content-Length header with a leading space character.

The front-end proxy interprets the Content-Length header correctly and forwards what it believes is the complete request. However, the Node.js back-end interprets the request boundaries differently due to the malformed header. This allows the attacker to embed a second, smuggled request that the back-end processes as a separate, legitimate request.

The attack can be leveraged to bypass security controls implemented at the proxy level, poison web caches with malicious content, hijack other users' requests by having the smuggled request processed as part of another user's session, or perform unauthorized actions on behalf of other users.

Detection Methods for CVE-2024-27982

Indicators of Compromise

  • Unusual HTTP requests containing whitespace before header names in server logs
  • Unexpected request boundaries or truncated requests in access logs
  • Cache entries containing content that doesn't match expected responses
  • Users reporting seeing other users' data or unexpected responses

Detection Strategies

  • Implement deep packet inspection to detect HTTP requests with malformed headers containing leading whitespace
  • Monitor web application firewall (WAF) logs for anomalous header patterns
  • Configure reverse proxies to log and alert on requests with non-standard header formatting
  • Deploy network intrusion detection signatures targeting HTTP smuggling patterns

Monitoring Recommendations

  • Enable verbose HTTP request logging on both proxy and Node.js application servers to identify request boundary discrepancies
  • Implement correlation analysis between front-end and back-end server logs to detect request smuggling attempts
  • Set up alerts for unusual patterns in Content-Length or Transfer-Encoding header handling
  • Monitor for cache poisoning indicators such as unexpected cache hit ratios or content mismatches

How to Mitigate CVE-2024-27982

Immediate Actions Required

  • Update Node.js to the latest patched version immediately
  • Configure front-end proxies to normalize or reject requests with malformed headers
  • Implement strict HTTP request validation at the network perimeter
  • Review and harden web application firewall rules to detect HTTP smuggling patterns

Patch Information

Security patches addressing this vulnerability have been released. Organizations should update their Node.js installations to the latest stable version. Security advisories have been published by multiple distributions including Debian LTS and Fedora. NetApp has also released a security advisory for affected products. The original vulnerability report is available on HackerOne.

Workarounds

  • Configure reverse proxies to strictly validate HTTP headers and reject requests with leading whitespace in header names
  • Implement a WAF rule to block requests containing space-prefixed headers
  • Use HTTP/2 between front-end proxies and back-end servers where possible, as HTTP/2's binary framing prevents traditional smuggling attacks
  • Ensure all components in the request chain (load balancers, proxies, application servers) are configured to handle ambiguous requests consistently
bash
# Example nginx configuration to normalize headers
# Add to your server or location block
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

# Ensure strict HTTP parsing
ignore_invalid_headers off;
underscores_in_headers off;

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNode

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-444
  • Technical References
  • HackerOne Report #2237099

  • Debian LTS Advisory September 2024

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20250418-0001
  • Related CVEs
  • CVE-2026-21716: Node.js Permission Bypass Vulnerability

  • CVE-2025-27209: Node.js v24 DoS Vulnerability

  • CVE-2025-23083: Node.js Privilege Escalation Vulnerability

  • CVE-2023-30584: Node.js Path Traversal Vulnerability
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