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-2022-23218

CVE-2022-23218: GNU Glibc Buffer Overflow Vulnerability

CVE-2022-23218 is a buffer overflow vulnerability in GNU Glibc's svcunix_create function that can lead to denial of service or code execution. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-23218 Overview

CVE-2022-23218 is a buffer overflow vulnerability in the deprecated compatibility function svcunix_create within the sunrpc module of the GNU C Library (glibc) through version 2.34. The function copies its path argument onto the stack without validating its length, which can lead to a stack-based buffer overflow. This vulnerability may result in a denial of service condition or, in cases where the application is not built with stack protector mitigations enabled, arbitrary code execution.

Critical Impact

This vulnerability allows remote attackers to potentially achieve arbitrary code execution or cause denial of service on systems running affected versions of glibc without stack protection mechanisms.

Affected Products

  • GNU glibc (through version 2.34)
  • Oracle Communications Cloud Native Core Unified Data Repository 22.2.0
  • Oracle Enterprise Operations Monitor (versions 4.3, 4.4, 5.0)
  • Debian Linux 10.0

Discovery Timeline

  • January 14, 2022 - CVE-2022-23218 published to NVD
  • May 5, 2025 - Last updated in NVD database

Technical Details for CVE-2022-23218

Vulnerability Analysis

The vulnerability exists in the svcunix_create function, a deprecated compatibility function used in the Sun RPC (Remote Procedure Call) implementation within glibc. This function is designed to create a Unix domain socket-based RPC service transport. The core issue stems from improper handling of the path argument that specifies the socket file path.

When processing the path argument, the function copies the input directly onto the stack without first validating the length of the string. If an attacker provides a path that exceeds the expected buffer size, this results in a classic stack-based buffer overflow condition. The consequences of exploitation depend on the target system's security posture—specifically whether stack protection mechanisms such as stack canaries are enabled during compilation.

Root Cause

The root cause is classified as CWE-120 (Buffer Copy without Checking Size of Input). The svcunix_create function lacks proper bounds checking when copying the path argument to a stack-allocated buffer. This is a fundamental input validation failure where the function implicitly trusts the length of user-supplied data without verification.

The vulnerability is particularly concerning because:

  • The function operates within a core system library (glibc) that is ubiquitous in Linux environments
  • RPC services may be exposed to network-accessible interfaces
  • The deprecated nature of the function means it may not receive the same security scrutiny as actively maintained code

Attack Vector

The vulnerability can be exploited remotely over the network. An attacker would need to interact with an application that uses the vulnerable svcunix_create function and accepts path input that can be influenced by external sources.

The exploitation mechanism involves supplying an oversized path argument to trigger the buffer overflow. Without stack protection, this allows the attacker to overwrite the return address on the stack, redirecting execution flow to attacker-controlled code. With stack protectors enabled, exploitation typically results in a denial of service through application crash when the stack canary is corrupted.

The vulnerability mechanism operates as follows: when svcunix_create is called with a path argument, it allocates a fixed-size buffer on the stack and copies the path using an unbounded copy operation. An attacker-controlled path exceeding this buffer size overwrites adjacent stack memory, including potentially the saved return address. For detailed technical analysis, refer to Bugzilla Report #28768.

Detection Methods for CVE-2022-23218

Indicators of Compromise

  • Unusual crashes in applications using RPC functionality with stack corruption signatures
  • Core dumps showing buffer overflow patterns in glibc sunrpc module functions
  • Segmentation faults originating from svcunix_create or related RPC functions
  • Evidence of abnormally long socket path strings in application logs or memory

Detection Strategies

  • Monitor for application crashes with stack smashing detected errors related to RPC services
  • Implement file integrity monitoring on glibc shared libraries to detect unauthorized modifications
  • Use runtime application self-protection (RASP) solutions to detect buffer overflow attempts
  • Deploy network intrusion detection rules to identify malformed RPC requests with oversized path parameters

Monitoring Recommendations

  • Enable crash reporting and analysis for services utilizing Sun RPC functionality
  • Implement centralized logging for RPC service events and correlate with security monitoring
  • Use SentinelOne's behavioral AI to detect anomalous memory access patterns indicative of exploitation attempts
  • Configure alerts for unexpected termination of RPC-dependent services

How to Mitigate CVE-2022-23218

Immediate Actions Required

  • Update glibc to a patched version that addresses CVE-2022-23218
  • Ensure all applications are compiled with stack protector flags enabled (-fstack-protector-strong or -fstack-protector-all)
  • Audit applications for use of the deprecated svcunix_create function and migrate to secure alternatives
  • Apply vendor patches from Oracle and Debian for affected products

Patch Information

Patches are available from multiple vendors. Organizations should apply updates based on their deployment environment:

  • GNU glibc: Upgrade to a version newer than 2.34 that includes the security fix
  • Oracle Products: Apply updates from the Oracle Security Alert July 2022
  • Debian Linux: Apply updates as described in the Debian LTS Announcement
  • Gentoo Linux: Follow remediation guidance in Gentoo GLSA 202208-24

Workarounds

  • Disable or restrict access to services that rely on Sun RPC functionality if not required
  • Implement network segmentation to limit exposure of RPC services to trusted networks only
  • Use application-level firewall rules to filter abnormally long path inputs to RPC services
  • Consider containerization with read-only filesystems to limit exploitation impact
bash
# Verify glibc version and check for stack protector compilation
ldd --version
readelf -s /lib/x86_64-linux-gnu/libc.so.6 | grep svcunix_create

# Ensure applications are compiled with stack protector
gcc -fstack-protector-strong -o application application.c

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnu Glibc

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.52%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • Debian LTS Announcement

  • Gentoo GLSA 202208-24

  • Bugzilla Report #28768
  • Vendor Resources
  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2021-3999: Gnu Glibc Buffer Overflow Vulnerability

  • CVE-2024-33599: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2024-33602: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2022-23219: GNU Glibc Buffer Overflow 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