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
    • 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-45590

CVE-2024-45590: Openjsf Body-parser DoS Vulnerability

CVE-2024-45590 is a denial of service flaw in Openjsf Body-parser that allows attackers to flood servers with crafted requests when URL encoding is enabled. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-45590 Overview

CVE-2024-45590 is a denial of service vulnerability affecting body-parser, a popular Node.js body parsing middleware used extensively in Express.js applications. When URL encoding is enabled, versions prior to 1.20.3 are vulnerable to resource exhaustion attacks that can render servers unresponsive. A malicious actor can exploit this vulnerability using specially crafted payloads to flood the server with a large number of requests, resulting in service disruption for legitimate users.

Critical Impact

This vulnerability enables attackers to cause denial of service conditions on Node.js web applications using body-parser with URL encoding enabled, potentially affecting critical business operations and user accessibility.

Affected Products

  • openjsf body-parser versions prior to 1.20.3
  • Node.js applications using vulnerable body-parser middleware
  • Express.js applications with URL-encoded body parsing enabled

Discovery Timeline

  • 2024-09-10 - CVE CVE-2024-45590 published to NVD
  • 2024-09-20 - Last updated in NVD database

Technical Details for CVE-2024-45590

Vulnerability Analysis

This vulnerability falls under CWE-405 (Asymmetric Resource Consumption), which describes scenarios where an attacker can consume disproportionate server resources relative to the effort required to initiate an attack. The body-parser middleware, which handles incoming request bodies in Express.js applications, contains a flaw in its URL encoding processing logic. When URL encoding is enabled, the middleware does not properly handle certain malformed or specially crafted payloads, leading to excessive resource consumption.

The vulnerability is particularly concerning because body-parser is one of the most widely used middleware components in the Node.js ecosystem. It processes incoming HTTP request bodies before application handlers, meaning exploitation can impact applications before any business logic executes.

Root Cause

The root cause lies in how body-parser processes URL-encoded request bodies. When handling specially crafted payloads, the parser enters a state where it consumes excessive CPU cycles or memory, creating an amplification effect. This asymmetric resource consumption allows attackers to exhaust server resources with relatively minimal effort, triggering denial of service conditions. The fix implemented in version 1.20.3 addresses this by adding proper input validation and resource constraints during URL-encoded body parsing.

Attack Vector

The attack vector is network-based and does not require authentication or user interaction. An attacker can remotely target any publicly accessible Node.js application using a vulnerable version of body-parser with URL encoding enabled. The attack involves sending HTTP requests with specially crafted URL-encoded bodies that trigger the inefficient parsing behavior.

The attacker sends multiple malformed requests designed to maximize resource consumption on the target server. As the server struggles to process these requests, legitimate traffic is starved of resources, effectively denying service to valid users. The attack can be sustained with relatively low bandwidth requirements from the attacker's side due to the asymmetric nature of the resource consumption.

Detection Methods for CVE-2024-45590

Indicators of Compromise

  • Unusual spike in HTTP POST requests with URL-encoded content types
  • Increased CPU utilization on Node.js processes without corresponding increase in legitimate traffic
  • Application response time degradation or timeout errors
  • Memory exhaustion alerts on servers running body-parser middleware

Detection Strategies

  • Monitor Node.js application logs for timeout errors or unresponsive worker processes
  • Implement rate limiting at the load balancer or reverse proxy layer to detect abnormal request patterns
  • Use dependency scanning tools to identify applications running body-parser versions below 1.20.3
  • Deploy application performance monitoring (APM) to detect anomalous resource consumption patterns

Monitoring Recommendations

  • Configure alerts for CPU and memory spikes on Node.js application servers
  • Implement request rate monitoring to detect flood attack patterns
  • Enable logging for requests with unusually large or malformed URL-encoded bodies
  • Monitor network traffic for sustained high-volume POST request patterns targeting API endpoints

How to Mitigate CVE-2024-45590

Immediate Actions Required

  • Upgrade body-parser to version 1.20.3 or later immediately
  • Review all Node.js applications to identify those using vulnerable body-parser versions
  • Implement rate limiting to reduce the impact of potential exploitation attempts
  • Consider temporarily disabling URL-encoded body parsing if not required for application functionality

Patch Information

The vulnerability has been patched in body-parser version 1.20.3. The fix is available in the GitHub commit b2695c4450f06ba3b0ccf48d872a229bb41c9bce. Organizations should update their package.json or package-lock.json files to specify the patched version and run dependency updates. For additional details, refer to the GitHub Security Advisory GHSA-qwcr-r2fm-qrc7.

Workarounds

  • Implement request body size limits at the reverse proxy or web server level
  • Deploy web application firewall (WAF) rules to filter malicious URL-encoded payloads
  • Use rate limiting to throttle requests from individual IP addresses
  • Consider using alternative body parsing middleware while awaiting patch deployment
bash
# Update body-parser to patched version
npm update body-parser@1.20.3

# Or update via package.json dependency specification
npm install body-parser@^1.20.3 --save

# Verify installed version
npm list body-parser

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenjsf Body Parser

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.54%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-405

  • NVD-CWE-noinfo
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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