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-28500

CVE-2020-28500: Lodash ReDoS Denial of Service Vulnerability

CVE-2020-28500 is a Regular Expression Denial of Service (ReDoS) vulnerability in Lodash affecting versions prior to 4.17.21. Attackers can exploit this flaw through toNumber, trim, and trimEnd functions. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2020-28500 Overview

Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim, and trimEnd functions. This vulnerability allows attackers to cause application hangs or crashes by supplying specially crafted input strings that trigger catastrophic backtracking in the regular expression engine.

Critical Impact

Applications using vulnerable Lodash functions can be rendered unresponsive through malicious input, potentially causing service disruption across web applications, APIs, and backend services that depend on this widely-used JavaScript utility library.

Affected Products

  • Lodash versions prior to 4.17.21
  • Oracle Banking Corporate Lending Process Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Banking Credit Facilities Process Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Banking Extensibility Workbench (14.2.0, 14.3.0, 14.5.0)
  • Oracle Communications Cloud Native Core Policy (1.11.0)
  • Oracle Communications Session Border Controller (8.4, 9.0)
  • Oracle PeopleSoft Enterprise PeopleTools (8.58, 8.59)
  • Oracle Primavera Gateway and Primavera Unifier (multiple versions)
  • Siemens SINEC INS (versions prior to 1.0 SP2)

Discovery Timeline

  • 2021-02-15 - CVE-2020-28500 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-28500

Vulnerability Analysis

This vulnerability is a Regular Expression Denial of Service (ReDoS) condition that exists in three Lodash utility functions: toNumber, trim, and trimEnd. The root cause lies in how these functions process string input using regular expressions that exhibit exponential time complexity when processing certain malicious patterns.

When an attacker provides a carefully crafted string containing repeating patterns followed by a non-matching character, the regex engine attempts an exponential number of backtracking operations. This causes the JavaScript event loop to become blocked, effectively freezing the application until the regex evaluation either completes or times out.

The impact is particularly severe in Node.js server environments where blocking the event loop prevents the server from handling any other requests, leading to complete service unavailability. In browser contexts, this can cause the page to become unresponsive.

Root Cause

The vulnerability stems from inefficient regular expressions used within the affected Lodash functions. The trimEnd and trim functions use regex patterns that exhibit catastrophic backtracking behavior when processing input strings with specific repeating character sequences. The regex engine's backtracking mechanism attempts to match patterns in an exponential number of ways, causing CPU exhaustion.

The vulnerable code in trimEnd.js and related functions uses regex patterns that do not properly anchor or limit the matching scope, allowing malicious input to trigger worst-case algorithmic complexity.

Attack Vector

An attacker can exploit this vulnerability by providing malicious string input to any application function that passes user-controlled data through Lodash's toNumber, trim, or trimEnd functions. The attack is network-accessible since the malicious payload can be delivered through HTTP requests, API calls, form submissions, or any other input vector that eventually reaches the vulnerable functions.

The attack requires no authentication or special privileges—any input field that processes string data through vulnerable Lodash functions becomes a potential attack surface. The exploitation mechanism involves crafting input strings with repeating characters that maximize backtracking iterations in the regex engine.

Detection Methods for CVE-2020-28500

Indicators of Compromise

  • Unusual CPU spikes in Node.js processes without corresponding increase in legitimate traffic
  • Application timeouts or unresponsive behavior when processing specific input patterns
  • Long-running event loop operations detected through Node.js performance monitoring
  • Stack traces showing execution blocked in Lodash trim, trimEnd, or toNumber functions

Detection Strategies

  • Implement dependency scanning using tools like npm audit, Snyk, or OWASP Dependency-Check to identify vulnerable Lodash versions
  • Monitor application performance metrics for sudden CPU utilization increases that correlate with specific request patterns
  • Use static analysis tools to identify code paths where user input flows into vulnerable Lodash functions
  • Deploy runtime application self-protection (RASP) solutions that can detect and block ReDoS attack patterns

Monitoring Recommendations

  • Set up alerting for Node.js event loop lag exceeding normal thresholds
  • Monitor for repetitive requests with suspiciously long or pattern-heavy string parameters
  • Track function execution times and alert on anomalous processing durations
  • Implement request timeout limits to prevent long-running regex operations from consuming resources indefinitely

How to Mitigate CVE-2020-28500

Immediate Actions Required

  • Upgrade Lodash to version 4.17.21 or later immediately across all affected applications
  • Audit your application's dependency tree using npm ls lodash or yarn why lodash to identify all direct and transitive dependencies on vulnerable versions
  • Review code for usage of toNumber, trim, and trimEnd functions where user input is processed
  • Implement input validation to limit string length before passing to potentially vulnerable functions

Patch Information

The vulnerability is fixed in Lodash version 4.17.21. The fix modifies the regular expressions used in the affected functions to prevent catastrophic backtracking. For detailed patch information, see the GitHub Lodash Pull Request.

Organizations using Oracle products should refer to Oracle's Critical Patch Updates:

  • Oracle CPU October 2021
  • Oracle CPU January 2022
  • Oracle CPU July 2022

For Siemens SINEC INS users, consult the Siemens Security Advisory SSA-637483.

Workarounds

  • Implement input length restrictions before string data reaches Lodash functions (e.g., limit input to 1000 characters)
  • Add request timeouts at the application or web server level to prevent individual requests from consuming excessive resources
  • Consider using alternative libraries or native JavaScript methods (String.prototype.trim()) for simple trimming operations
  • Deploy Web Application Firewall (WAF) rules to detect and block requests containing potential ReDoS payload patterns
bash
# Upgrade Lodash to patched version
npm update lodash@4.17.21

# Or force resolution in package.json for transitive dependencies
# Add to package.json:
# "resolutions": {
#   "lodash": "^4.17.21"
# }

# Audit for vulnerable dependencies
npm audit

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLodash

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • NVD-CWE-Other
  • Technical References
  • GitHub Lodash File Source

  • NetApp Security Advisory NTAP-20210312-0006

  • Snyk Java Vulnerability SNYK-JAVA-ORGFUJIONWEBJARS-1074896

  • Snyk Java Vulnerability SNYK-JAVA-ORGWEBJARS-1074894

  • Snyk Java Vulnerability SNYK-JAVA-ORGWEBJARSBOWER-1074892

  • Snyk Java Vulnerability SNYK-JAVA-ORGWEBJARSBOWERGITHUBLODASH-1074895

  • Snyk Java Vulnerability SNYK-JAVA-ORGWEBJARSNPM-1074893

  • Snyk JS Vulnerability SNYK-JS-LODASH-1018905

  • Oracle Security Alerts CPU July 2021
  • Vendor Resources
  • Siemens Security Advisory SSA-637483

  • GitHub Lodash Pull Request

  • Oracle Security Alerts CPU January 2022

  • Oracle Security Alerts CPU July 2022

  • Oracle Security Alerts CPU October 2021
  • Related CVEs
  • CVE-2026-2950: Lodash Prototype Pollution Vulnerability

  • CVE-2026-4800: Lodash Template RCE Vulnerability

  • CVE-2025-13465: Lodash Prototype Pollution Vulnerability

  • CVE-2021-23337: Lodash Command Injection 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