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-2023-45290

CVE-2023-45290: Multipart Form Parsing DoS Vulnerability

CVE-2023-45290 is a denial of service vulnerability in multipart form parsing that allows attackers to exhaust memory through maliciously crafted long form lines. This article covers technical details, affected systems, and mitigations.

Published: February 4, 2026

CVE-2023-45290 Overview

CVE-2023-45290 is a memory exhaustion vulnerability in Go's net/http package affecting multipart form parsing. When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion and denial of service.

Critical Impact

This vulnerability allows remote attackers to cause denial of service by sending specially crafted multipart form data with extremely long lines, bypassing form size limits and exhausting server memory.

Affected Products

  • Go programming language (net/http package)
  • Applications using Request.ParseMultipartForm
  • Applications using Request.FormValue, Request.PostFormValue, or Request.FormFile

Discovery Timeline

  • 2024-03-05 - CVE CVE-2023-45290 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-45290

Vulnerability Analysis

This vulnerability (classified as CWE-770: Allocation of Resources Without Limits or Throttling) exists in Go's multipart form parsing implementation within the net/http package. The core issue is that while Go implemented limits on the total size of parsed forms, these limits were not enforced when reading individual form lines during the parsing process.

When a multipart form is parsed, the parser reads data line by line to process form boundaries, headers, and content. An attacker can exploit this by crafting a malicious multipart form request containing extremely long lines. Since the per-line memory allocation was not subject to the overall form size limits, each long line causes unbounded memory allocation, quickly exhausting available server memory.

The vulnerability can be triggered through multiple entry points: direct calls to Request.ParseMultipartForm, or indirect parsing through Request.FormValue, Request.PostFormValue, and Request.FormFile methods that automatically parse form data when needed.

Root Cause

The root cause lies in the incomplete enforcement of memory limits during multipart form parsing. While the ParseMultipartForm function accepted a maxMemory parameter intended to limit memory consumption, this limit was only applied to the accumulated form data, not to the buffer used for reading individual lines. The line-reading buffer could grow without restriction when processing maliciously crafted input with very long lines, creating a memory exhaustion condition that bypasses the intended protections.

Attack Vector

The attack is network-based and requires low privilege to execute. An attacker sends an HTTP request with a multipart form body containing extremely long lines. The vulnerable parsing code allocates memory proportional to the line length without checking against configured limits. By repeatedly sending such requests or using a single request with multiple long lines, the attacker can exhaust server memory, causing denial of service.

The attack does not require user interaction and can be performed by any entity capable of sending HTTP requests to the vulnerable application. Web applications that accept file uploads or form submissions are particularly at risk.

Detection Methods for CVE-2023-45290

Indicators of Compromise

  • Abnormally large HTTP request bodies containing multipart form data
  • Sudden memory consumption spikes in Go-based web applications
  • Out-of-memory errors or application crashes during form processing
  • HTTP requests with unusually long lines in multipart boundaries or content

Detection Strategies

  • Monitor Go application memory usage patterns for unexpected growth during HTTP request processing
  • Implement request size logging at the web server or load balancer level to identify abnormally large multipart requests
  • Deploy application performance monitoring (APM) to track memory allocation during form parsing operations
  • Review Go runtime metrics for garbage collection pressure and heap growth anomalies

Monitoring Recommendations

  • Configure alerting on memory utilization thresholds for Go-based services handling multipart forms
  • Implement rate limiting on endpoints that accept multipart form data
  • Monitor HTTP request sizes at ingress points (reverse proxy, load balancer)
  • Track application restart frequency as a potential indicator of memory exhaustion crashes

How to Mitigate CVE-2023-45290

Immediate Actions Required

  • Update Go to the latest patched version that includes the fix for this vulnerability
  • Review all applications using Go's net/http package for multipart form handling
  • Implement request size limits at the reverse proxy or load balancer level as defense in depth
  • Consider temporarily disabling or limiting access to form upload endpoints until patching is complete

Patch Information

The Go team has released a fix that correctly limits the maximum size of form lines in the ParseMultipartForm function. The patch is tracked in Go.dev Change List CL 569341. Additional details are available in the Go.dev Issue Tracker and the official Go.dev Vulnerability Report GO-2024-2599. NetApp has also released a Security Advisory for affected products.

Workarounds

  • Implement request body size limits at the reverse proxy or web server level (e.g., nginx client_max_body_size)
  • Add middleware to reject requests with excessively long Content-Length headers before they reach the Go application
  • Deploy rate limiting on endpoints accepting multipart form data to reduce the impact of exploitation attempts
  • Consider using a WAF rule to inspect and reject malformed multipart requests with abnormally long lines
bash
# Example nginx configuration to limit request body size
# Add to server or location block
client_max_body_size 10M;
client_body_buffer_size 128k;

# Example rate limiting for form endpoints
limit_req_zone $binary_remote_addr zone=form_limit:10m rate=10r/s;
location /upload {
    limit_req zone=form_limit burst=20 nodelay;
    proxy_pass http://go_backend;
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGolang

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.36%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Openwall OSS-Security Mailing List

  • Go.dev Change List

  • Go.dev Issue Tracker

  • Golang Announce Group

  • Go.dev Vulnerability Report

  • NetApp Security Advisory
  • Related CVEs
  • CVE-2025-47911: Go html.Parse DoS Vulnerability

  • CVE-2025-58190: Golang x/net/html DoS Vulnerability

  • CVE-2025-58187: Golang Go DOS Vulnerability

  • CVE-2025-58188: Golang Go DOS 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