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-2020-8287

CVE-2020-8287: Node.js HTTP Request Smuggling Vulnerability

CVE-2020-8287 is an HTTP Request Smuggling vulnerability in Node.js caused by duplicate header field handling. Attackers can exploit this to bypass security controls. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-8287 Overview

CVE-2020-8287 is an HTTP Request Smuggling vulnerability affecting Node.js versions before 10.23.1, 12.20.1, 14.15.4, and 15.5.1. The vulnerability arises from improper handling of duplicate HTTP header fields, where Node.js processes only the first instance of a duplicated header (such as Transfer-Encoding) while ignoring subsequent occurrences. This inconsistent header parsing behavior can be exploited by attackers to perform HTTP Request Smuggling attacks against applications built on vulnerable Node.js versions.

Critical Impact

Attackers can exploit this vulnerability to bypass security controls, poison web caches, hijack user sessions, or gain unauthorized access to backend systems by manipulating how HTTP requests are interpreted between front-end proxies and back-end Node.js servers.

Affected Products

  • Node.js versions before 10.23.1 (LTS)
  • Node.js versions before 12.20.1 (LTS)
  • Node.js versions before 14.15.4 (LTS)
  • Node.js versions before 15.5.1
  • Debian Linux 10.0
  • Fedora 32 and 33
  • Oracle GraalVM Enterprise 19.3.4 and 20.3.0
  • Siemens SINEC Infrastructure Network Services

Discovery Timeline

  • January 6, 2021 - CVE-2020-8287 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-8287

Vulnerability Analysis

This HTTP Request Smuggling vulnerability (CWE-444) stems from Node.js's HTTP parser behavior when processing duplicate header fields in incoming requests. When an HTTP request contains multiple instances of the same header field—specifically critical headers like Transfer-Encoding—Node.js only processes the first occurrence and silently discards subsequent ones.

This parsing discrepancy becomes exploitable in environments where Node.js applications sit behind reverse proxies, load balancers, or CDNs that may interpret the same request differently. Since different HTTP implementations may prioritize different instances of duplicate headers, an attacker can craft requests that are interpreted one way by a front-end proxy and differently by the back-end Node.js server.

The attack surface extends to any Node.js application accepting HTTP traffic through intermediate proxies, making this vulnerability particularly impactful for web services, APIs, and microservices architectures.

Root Cause

The root cause lies in the HTTP request parsing logic within Node.js's HTTP module. When the parser encounters duplicate header fields, it implements a "first wins" strategy, accepting only the initial header value. This behavior violates RFC 7230 specifications for handling duplicate headers and creates parsing inconsistencies when front-end systems implement different strategies (such as "last wins" or concatenation).

The inconsistent interpretation of requests between proxy layers and Node.js enables HTTP desynchronization attacks where the boundaries between HTTP requests become ambiguous.

Attack Vector

HTTP Request Smuggling via duplicate header manipulation represents a network-based attack vector requiring no authentication or user interaction. An attacker sends a specially crafted HTTP request containing duplicate Transfer-Encoding or similar headers to a vulnerable Node.js application behind a reverse proxy.

The front-end proxy interprets the request boundary using one header value, while Node.js uses a different interpretation based on its first-header-wins logic. This desynchronization allows attackers to "smuggle" malicious requests that bypass front-end security controls, or to poison the request queue affecting other users' sessions.

For example, if a proxy honors the second Transfer-Encoding header while Node.js honors the first, an attacker can embed a hidden request within what appears to be a single legitimate request. Technical details of this attack are documented in the HackerOne Report #1002188.

Detection Methods for CVE-2020-8287

Indicators of Compromise

  • HTTP requests containing multiple instances of Transfer-Encoding or Content-Length headers in server logs
  • Unexpected request parsing errors or malformed request warnings in Node.js application logs
  • Anomalous HTTP traffic patterns showing requests with conflicting body length indicators
  • Cache poisoning symptoms where incorrect content is served to legitimate users

Detection Strategies

  • Implement HTTP request validation at the proxy layer to reject requests with duplicate critical headers before reaching Node.js
  • Deploy web application firewalls (WAF) configured to detect and block HTTP Request Smuggling patterns
  • Monitor Node.js application logs for unusual parsing behavior or header-related warnings
  • Use intrusion detection systems with signatures for known HTTP desynchronization attack patterns

Monitoring Recommendations

  • Enable detailed HTTP access logging at both proxy and application tiers to correlate request interpretation differences
  • Configure alerting for requests containing duplicate Transfer-Encoding, Content-Length, or other hop-by-hop headers
  • Implement request timing analysis to detect desynchronization anomalies in multi-tier architectures
  • Regularly audit proxy and Node.js configurations for consistent header handling policies

How to Mitigate CVE-2020-8287

Immediate Actions Required

  • Upgrade Node.js to patched versions: 10.23.1, 12.20.1, 14.15.4, or 15.5.1 or later immediately
  • Review and update dependent products including Oracle GraalVM and Siemens SINEC Infrastructure Network Services
  • Configure front-end proxies to normalize or reject requests with duplicate headers before forwarding to Node.js
  • Audit all Node.js deployments across development, staging, and production environments

Patch Information

Security patches are available from the Node.js project addressing this vulnerability. Refer to the Node.js January 2021 Security Releases for official patch information and upgrade guidance. Additional vendor-specific patches are documented in:

  • Debian Security Advisory DSA-4826
  • Gentoo GLSA 202101-07
  • Oracle Security Alert January 2021
  • Siemens Security Advisory SSA-389290

Workarounds

  • Configure reverse proxies (nginx, HAProxy, Apache) to reject or sanitize requests containing duplicate Transfer-Encoding or Content-Length headers
  • Implement strict HTTP parsing modes in front-end proxies where available
  • Deploy WAF rules specifically targeting HTTP Request Smuggling attack patterns
  • Consider network segmentation to limit exposure of vulnerable Node.js instances while patches are applied
bash
# nginx configuration to reject requests with duplicate Transfer-Encoding headers
# Add to server or location block
if ($http_transfer_encoding ~* ".*,.*") {
    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/TechNodejs

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability10.56%

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

  • Debian LTS Announcement December 2022

  • Fedora Package Announcement December 2022

  • Fedora Package Announcement December 2022

  • Gentoo GLSA 202101-07

  • NetApp Security Advisory NTAP-20210212-0003

  • Debian Security Advisory DSA-4826

  • Oracle Security Alert January 2021
  • Vendor Resources
  • Siemens Security Advisory SSA-389290

  • Node.js Vulnerability Blog January 2021
  • Related CVEs
  • CVE-2023-30589: Node.js HTTP Request Smuggling Vulnerability

  • CVE-2022-35256: Node.js HTTP Request Smuggling Flaw

  • CVE-2022-32215: Llhttp HTTP Request Smuggling Vulnerability

  • CVE-2022-32213: Llhttp HTTP Request Smuggling 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