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

CVE-2023-45142: OpenTelemetry-Go DoS Vulnerability

CVE-2023-45142 is a denial of service vulnerability in OpenTelemetry-Go Contrib that causes memory exhaustion through unbound cardinality. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 4, 2026

CVE-2023-45142 Overview

CVE-2023-45142 is a resource exhaustion vulnerability affecting OpenTelemetry-Go Contrib, a collection of third-party packages for OpenTelemetry-Go. The vulnerability exists in the otelhttp.NewHandler wrapper, which adds labels for http.user_agent and http.method with unbounded cardinality. This design flaw allows attackers to exhaust server memory by sending numerous malicious requests with randomized and lengthy User-Agent headers or HTTP methods.

The library internally uses httpconv.ServerRequest to record every unique value for the HTTP method and User-Agent attributes. When an attacker can control these values, they can generate an unlimited number of unique metric labels, leading to uncontrolled memory consumption and eventual denial of service.

Critical Impact

Applications using OpenTelemetry-Go Contrib's HTTP handler wrapper are vulnerable to memory exhaustion attacks, potentially causing complete service unavailability without requiring any authentication.

Affected Products

  • OpenTelemetry-Go Contrib versions prior to 0.44.0
  • Applications using otelhttp.NewHandler wrapper without CDN/LB filtering
  • Go applications with OpenTelemetry instrumentation (cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:go:*:*)

Discovery Timeline

  • October 12, 2023 - CVE-2023-45142 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-45142

Vulnerability Analysis

This vulnerability represents a classic resource exhaustion attack enabled by improper handling of high-cardinality metric labels. The otelhttp handler wrapper is designed to collect telemetry data from HTTP requests, including the User-Agent header and HTTP method. However, the implementation records these values without any bounds checking or normalization.

In a typical deployment, HTTP methods should be limited to a well-known set (GET, POST, PUT, DELETE, etc.), and User-Agent strings, while varied, should be filtered or normalized when used as metric labels. The vulnerable code path accepts any arbitrary value for these attributes and creates unique metric labels for each, storing them in memory indefinitely.

For an attack to succeed, the target application must use the otelhttp.NewHandler wrapper and must not have implemented filtering for unknown HTTP methods or User-Agent strings at the CDN, load balancer, or middleware level. This makes applications that rely solely on the OpenTelemetry library for HTTP handling particularly vulnerable.

Root Cause

The root cause lies in the httpconv.ServerRequest function which records every unique value for the http.method and http.user_agent attributes without any cardinality limits. The handler code at instrumentation/net/http/otelhttp/handler.go creates metric labels directly from user-controlled input values. This violates the security principle of bounded resource allocation, where user-controlled data should never directly influence the growth of server-side data structures without explicit limits.

Attack Vector

The attack vector is network-based and requires no authentication or special privileges. An attacker sends a large volume of HTTP requests to an affected server, each containing a unique, randomly generated User-Agent header or using non-standard HTTP methods.

Each unique combination creates a new entry in the metrics system, consuming server memory. The attacker can easily automate this process using common HTTP tools, setting the User-Agent header to random strings of arbitrary length. Over time, or with sufficient request volume, the server's available memory is exhausted, leading to service degradation or complete unavailability.

The vulnerability is particularly dangerous because the malicious requests may appear legitimate at the network level and could bypass simple rate limiting that doesn't account for header content variability.

Detection Methods for CVE-2023-45142

Indicators of Compromise

  • Rapid increase in memory consumption on servers running OpenTelemetry-Go instrumented applications
  • Unusually high cardinality in OpenTelemetry metrics for http.user_agent or http.method attributes
  • HTTP access logs showing requests with abnormally long or randomized User-Agent strings
  • Requests using non-standard HTTP methods (anything other than GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, TRACE, CONNECT)

Detection Strategies

  • Monitor memory usage patterns on application servers for unexpected growth correlated with HTTP traffic
  • Implement alerting on OpenTelemetry metric cardinality thresholds for HTTP-related attributes
  • Analyze HTTP access logs for User-Agent diversity anomalies using entropy analysis
  • Deploy application performance monitoring (APM) to track metric storage growth over time

Monitoring Recommendations

  • Configure alerts for memory utilization exceeding baseline thresholds on instrumented services
  • Set up cardinality monitoring for OpenTelemetry metrics using Prometheus or compatible backends
  • Enable verbose logging for HTTP requests with non-standard methods at the edge layer
  • Implement request sampling to identify sources of high-cardinality metric generation

How to Mitigate CVE-2023-45142

Immediate Actions Required

  • Upgrade OpenTelemetry-Go Contrib to version 0.44.0 or later immediately
  • Review application code for usage of otelhttp.NewHandler wrapper
  • Implement HTTP method and User-Agent filtering at CDN, load balancer, or reverse proxy level
  • Apply the otelhttp.WithFilter() workaround if immediate upgrade is not possible

Patch Information

Version 0.44.0 of OpenTelemetry-Go Contrib addresses this vulnerability by restricting the values collected for the http.request.method attribute to a set of well-known HTTP methods and removing other high cardinality attributes. The fix ensures that non-standard HTTP methods are labeled as unknown rather than recorded verbatim, preventing unbounded cardinality growth. The patch is available through the GitHub Release v1.19.0. Technical details of the fix can be found in the GitHub Pull Request #4277. Additional information is available in the vendor security advisories.

Workarounds

  • Use otelhttp.WithFilter() to exclude requests with non-standard HTTP methods or suspicious User-Agent patterns from telemetry collection
  • Deploy a reverse proxy or WAF configured to reject requests with non-standard HTTP methods before they reach the application
  • Implement application-level middleware to normalize or truncate User-Agent strings before OpenTelemetry processing
  • Configure CDN or load balancer rules to filter requests with User-Agent headers exceeding reasonable length thresholds
bash
# Example: Configure nginx to filter non-standard HTTP methods
# Add to your nginx server configuration
if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE|PATCH|OPTIONS)$) {
    return 405;
}

# Limit User-Agent header length at the proxy level
# This requires lua-nginx-module or similar
# set $ua $http_user_agent;
# if ($ua ~ ".{500,}") {
#     return 400;
# }

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpentelemetry

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.16%

  • 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-770
  • Technical References
  • GitHub Security Advisory

  • GitHub Code Snippet

  • GitHub Pull Request

  • GitHub Release v1.19.0

  • GitHub Code Snippet

  • GitHub Code Snippet

  • Fedora Package Announcement
  • Vendor Resources
  • GitHub Security Advisory

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2023-47108: OpenTelemetry-Go Contrib DoS Vulnerability

  • CVE-2025-27513: OpenTelemetry .NET DoS Vulnerability

  • CVE-2024-36129: Opentelemetry Configgrpc DOS Vulnerability

  • CVE-2026-33701: OpenTelemetry Java Instrumentation RCE
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