Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-27664

CVE-2022-27664: Golang Go HTTP/2 DoS Vulnerability

CVE-2022-27664 is a denial of service vulnerability in Golang Go's net/http package affecting HTTP/2 connections. Attackers can cause connection hangs during shutdown. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 17, 2026

CVE-2022-27664 Overview

CVE-2022-27664 is a Denial of Service vulnerability in Go's net/http package affecting versions before 1.18.6 and 1.19.x before 1.19.1. The vulnerability allows attackers to cause a denial of service because an HTTP/2 connection can hang during closing if shutdown is preempted by a fatal error. This issue affects any Go application that accepts HTTP/2 connections.

Critical Impact

Remote attackers can exploit this vulnerability to cause HTTP/2 connections to hang indefinitely during the closing process, leading to service unavailability and resource exhaustion in affected Go applications.

Affected Products

  • Golang Go versions before 1.18.6
  • Golang Go version 1.19.0 (fixed in 1.19.1)
  • Fedora Project Fedora 36 and 37

Discovery Timeline

  • 2022-09-06 - CVE-2022-27664 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-27664

Vulnerability Analysis

This vulnerability exists in Go's net/http package, specifically in the HTTP/2 connection handling logic. The flaw occurs when an HTTP/2 connection is being closed and the shutdown process is interrupted by a fatal error. In this scenario, the connection enters a hung state rather than properly terminating, which can lead to resource exhaustion as connections accumulate without being properly released.

The attack can be executed remotely over the network without requiring any authentication or user interaction. The primary impact is on availability, as the vulnerability does not allow for data theft or system compromise but can effectively render services unavailable.

Root Cause

The root cause of this vulnerability lies in the improper handling of concurrent shutdown operations and fatal errors in the HTTP/2 connection management code within Go's net/http package. When a fatal error occurs during the shutdown sequence, the error handling logic fails to properly complete the connection closure, leaving the connection in a perpetually hanging state.

This race condition between the shutdown process and error handling results in connections that never complete their closure cycle, consuming system resources and potentially leading to denial of service as resources become exhausted.

Attack Vector

The attack vector for CVE-2022-27664 is network-based, requiring the attacker to establish HTTP/2 connections to the target server. An attacker can exploit this vulnerability by:

  1. Establishing multiple HTTP/2 connections to a vulnerable Go application
  2. Triggering conditions that cause fatal errors during connection shutdown
  3. Repeating this process to accumulate hanging connections
  4. Eventually exhausting server resources and causing denial of service

The vulnerability does not require authentication or special privileges, making it accessible to any remote attacker who can reach the HTTP/2 endpoint.

Detection Methods for CVE-2022-27664

Indicators of Compromise

  • Unusual accumulation of HTTP/2 connections in a half-closed or hanging state
  • Increasing memory consumption on Go-based HTTP/2 servers without corresponding traffic increases
  • Server performance degradation or unresponsiveness with HTTP/2 endpoints
  • Connection timeout errors reported by legitimate clients

Detection Strategies

  • Monitor Go application logs for HTTP/2 connection errors and shutdown failures
  • Implement connection state monitoring to detect abnormal connection lifecycle patterns
  • Use application performance monitoring (APM) tools to track HTTP/2 connection counts and states
  • Set up alerts for unusual spikes in connection counts or resource utilization

Monitoring Recommendations

  • Configure monitoring for Go application memory and connection metrics
  • Implement health checks that verify HTTP/2 endpoint responsiveness
  • Monitor system file descriptor usage on servers running vulnerable Go applications
  • Review server logs for patterns indicating connection handling anomalies

How to Mitigate CVE-2022-27664

Immediate Actions Required

  • Upgrade Golang to version 1.18.6 or later for the 1.18.x branch
  • Upgrade Golang to version 1.19.1 or later for the 1.19.x branch
  • Rebuild and redeploy all Go applications after upgrading the Go toolchain
  • Implement connection limits and timeouts as defense-in-depth measures

Patch Information

The Go team has released patched versions that address this vulnerability. Organizations should update their Go installations to the following minimum versions:

  • Go 1.18.6 for the 1.18.x release branch
  • Go 1.19.1 for the 1.19.x release branch

For detailed information about the fix, refer to the Golang Announcement Thread. Additionally, Linux distribution users should check for updated packages via their distribution's package manager. Fedora users can find relevant package updates in the Fedora Package Announcement.

Workarounds

  • Consider implementing a reverse proxy in front of Go applications to handle HTTP/2 connections
  • Configure connection timeouts and limits at the infrastructure level
  • Implement rate limiting for incoming HTTP/2 connections
  • Monitor and automatically restart Go services if resource exhaustion is detected
bash
# Configuration example - Setting connection limits in nginx as reverse proxy
http {
    # Limit concurrent HTTP/2 connections per IP
    limit_conn_zone $binary_remote_addr zone=http2_conn:10m;
    
    server {
        listen 443 ssl http2;
        
        # Apply connection limit
        limit_conn http2_conn 100;
        
        # Set keepalive timeout
        keepalive_timeout 60s;
        
        # Proxy to backend Go application
        location / {
            proxy_pass http://go_backend;
            proxy_http_version 1.1;
        }
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGolang

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.09%

  • 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
  • NVD-CWE-noinfo
  • Technical References
  • Golang Announce Group

  • Golang Announcement Thread

  • Fedora Package Announcement

  • Fedora Package Notification

  • Gentoo GLSA #202209-26

  • NetApp Security Advisory NTAP-20220923-0004
  • 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