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

CVE-2023-4813: GNU Glibc Use-After-Free Vulnerability

CVE-2023-4813 is a use-after-free flaw in GNU Glibc that can cause application crashes when getaddrinfo is called with specific nsswitch.conf settings. This article covers technical details, impact, and mitigation.

Published: February 4, 2026

CVE-2023-4813 Overview

A use-after-free vulnerability has been identified in the GNU C Library (glibc), specifically within the gaih_inet function. Under uncommon circumstances, this function may reference memory that has already been freed, leading to an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge options.

Critical Impact

Applications relying on glibc's name resolution functionality may experience denial of service conditions when specific nsswitch.conf configurations are present, potentially affecting service availability on affected Linux systems.

Affected Products

  • GNU glibc
  • Red Hat Enterprise Linux 8.0 and 9.0
  • Red Hat Enterprise Linux EUS 8.8 and 9.2
  • Red Hat Enterprise Linux for IBM z Systems
  • Red Hat Enterprise Linux for Power (little endian)
  • Red Hat Enterprise Linux Server AUS and TUS
  • Fedora 38
  • NetApp Active IQ Unified Manager
  • NetApp H-Series Storage Systems (H300S, H500S, H700S, H410S, H410C)

Discovery Timeline

  • September 12, 2023 - CVE-2023-4813 published to NVD
  • September 26, 2025 - Last updated in NVD database

Technical Details for CVE-2023-4813

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free). The flaw exists in the gaih_inet function within glibc, which handles address information retrieval for network operations. When the getaddrinfo function is invoked and the system's /etc/nsswitch.conf file has specific non-default configurations for the hosts database (specifically SUCCESS=continue or SUCCESS=merge), the function may attempt to access memory that has already been deallocated.

The use-after-free condition occurs during the name resolution process, where the function references freed memory structures. While this vulnerability requires specific configuration conditions to be triggered, systems running with these nsswitch.conf settings are susceptible to exploitation. The primary impact is denial of service through application crashes, as the vulnerability does not appear to allow for arbitrary code execution or data exfiltration.

Root Cause

The root cause is improper memory management within the gaih_inet function in glibc. When processing address information with specific nsswitch.conf configurations that allow continuation after successful lookups (SUCCESS=continue) or merging of results (SUCCESS=merge), the function fails to properly track memory allocation states. This results in a dangling pointer scenario where freed memory is subsequently accessed, triggering undefined behavior and typically causing an application crash.

Attack Vector

The vulnerability is remotely exploitable over the network, though exploitation requires specific preconditions:

  1. The target system must be running a vulnerable version of glibc
  2. The /etc/nsswitch.conf file must have the hosts database configured with either SUCCESS=continue or SUCCESS=merge directives
  3. An application must call the getaddrinfo function in a manner that triggers the vulnerable code path

An attacker could potentially craft network responses or manipulate DNS queries that cause the vulnerable code path to execute, resulting in denial of service. The attack complexity is high due to the specific configuration requirements needed for successful exploitation.

The vulnerability manifests during address resolution operations when non-standard nsswitch.conf configurations are present. Applications using getaddrinfo for hostname resolution may experience unexpected crashes when processing certain name resolution requests. For detailed technical analysis, see the Red Hat Bugzilla Report #2237798 and the OpenWall OSS Security Discussion.

Detection Methods for CVE-2023-4813

Indicators of Compromise

  • Unexpected application crashes in processes using getaddrinfo for name resolution
  • Core dumps showing crashes in gaih_inet or related glibc name resolution functions
  • Increased segmentation faults in network-facing applications
  • System logs indicating memory access violations during DNS resolution operations

Detection Strategies

  • Monitor for abnormal application terminations involving glibc name resolution components
  • Audit /etc/nsswitch.conf for SUCCESS=continue or SUCCESS=merge configurations in the hosts database entry
  • Implement application monitoring to detect crashes in getaddrinfo call paths
  • Review system logs for segmentation faults and memory access errors related to network operations

Monitoring Recommendations

  • Enable core dump collection and analysis for applications performing network name resolution
  • Configure centralized logging to capture application crashes across affected systems
  • Implement health checks for services that rely heavily on DNS resolution functionality
  • Monitor glibc-related security advisories from distribution vendors

How to Mitigate CVE-2023-4813

Immediate Actions Required

  • Verify glibc version installed on all Linux systems and identify vulnerable deployments
  • Review /etc/nsswitch.conf configuration files for SUCCESS=continue or SUCCESS=merge directives
  • Prioritize patching systems with the identified non-default nsswitch.conf configurations
  • Apply available security updates from your Linux distribution vendor

Patch Information

Security patches are available from multiple vendors:

  • Red Hat Security Advisory RHSA-2023:5453
  • Red Hat Security Advisory RHSA-2023:5455
  • Red Hat Security Advisory RHSA-2023:7409
  • Red Hat Bug Fix Advisory RHBA-2024:2413
  • NetApp Security Advisory NTAP-20231110-0003

Update glibc to the patched version available from your distribution's package repository.

Workarounds

  • Remove or modify SUCCESS=continue and SUCCESS=merge directives from the hosts database entry in /etc/nsswitch.conf if not required
  • Implement process restart mechanisms for critical applications to maintain availability
  • Consider isolating vulnerable systems until patches can be applied
  • Deploy network-level monitoring to detect potential exploitation attempts
bash
# Check nsswitch.conf for vulnerable configuration
grep -E "hosts:.*SUCCESS=(continue|merge)" /etc/nsswitch.conf

# Verify installed glibc version (RHEL/CentOS)
rpm -q glibc

# Verify installed glibc version (Debian/Ubuntu)
dpkg -l libc6

# Apply updates (RHEL/CentOS)
sudo yum update glibc

# Apply updates (Debian/Ubuntu)
sudo apt update && sudo apt upgrade libc6

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechGnu Glibc

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Red Hat Bug Fix Advisory RHBA-2024:2413

  • Red Hat Security Advisory RHSA-2023:5453

  • Red Hat Security Advisory RHSA-2023:5455

  • Red Hat Security Advisory RHSA-2023:7409

  • Red Hat CVE Record CVE-2023-4813

  • OpenWall OSS Security Discussion

  • NetApp Security Advisory NTAP-20231110-0003
  • Vendor Resources
  • Red Hat Bugzilla Report #2237798
  • Related CVEs
  • CVE-2023-4806: GNU Glibc Use-After-Free Vulnerability

  • CVE-2021-38604: GNU Glibc Use-After-Free Vulnerability

  • CVE-2021-33574: GNU Glibc Use-After-Free Vulnerability

  • CVE-2020-1752: GNU Glibc Use-After-Free 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