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-2021-3800

CVE-2021-3800: Gnome Glib Information Disclosure Flaw

CVE-2021-3800 is an information disclosure vulnerability in Gnome Glib that allows unprivileged users to access privileged file content. This article covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-3800 Overview

A flaw was found in GNOME GLib before version 2.63.6. Due to random charset alias handling, pkexec can leak content from files owned by privileged users to unprivileged ones under the right conditions. This vulnerability allows local attackers to potentially access sensitive information from files they normally wouldn't have permission to read, representing a significant information disclosure risk on affected Linux systems.

Critical Impact

Local attackers can leverage charset alias behavior in GLib to leak privileged file contents to unprivileged users, potentially exposing sensitive configuration data, credentials, or other protected information.

Affected Products

  • GNOME GLib (versions prior to 2.63.6)
  • Debian Linux 10.0
  • NetApp Active IQ Unified Manager for VMware vSphere

Discovery Timeline

  • 2022-08-23 - CVE CVE-2021-3800 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-3800

Vulnerability Analysis

This vulnerability stems from improper handling of charset aliases within GNOME GLib's character encoding conversion mechanisms. When GLib processes character encoding conversions, it relies on alias mappings to translate between different charset names. The flaw allows a malicious local user to manipulate these charset aliases in a way that causes pkexec (a PolicyKit utility for executing commands as another user) to inadvertently disclose file contents.

The vulnerability is classified under CWE-200 (Information Exposure) and CWE-552 (Files or Directories Accessible to External Parties), indicating it involves unauthorized access to sensitive information through improper resource handling.

Root Cause

The root cause lies in GLib's charset alias resolution mechanism. When processing character encoding conversions, GLib uses a lookup system for charset aliases that can be influenced by user-controlled input. Under specific conditions, this allows an unprivileged user to craft requests that cause privileged processes using GLib (such as pkexec) to read and potentially expose content from files that should only be accessible to privileged users.

The GNOME project addressed this issue with a commit that improves the handling of charset aliases to prevent this information leakage vector. For technical details, see the GNOME Commit Log Update.

Attack Vector

The attack requires local access to the target system. An attacker would need to:

  1. Create a specially crafted environment that manipulates charset alias resolution
  2. Trigger a privileged process (such as pkexec) that uses GLib for character encoding operations
  3. Exploit the charset alias handling flaw to cause the privileged process to read and expose protected file contents
  4. Capture the leaked information through the encoding conversion output

This attack requires user interaction to trigger the vulnerable code path, making it more difficult to exploit in automated attack scenarios. However, once the conditions are met, the attacker can gain access to sensitive file contents without requiring any privileges on those files.

The vulnerability manifests in GLib's charset alias handling code path. When a privileged process like pkexec performs character encoding conversions, the alias lookup can be manipulated to cause information disclosure. Technical details and the specific fix can be found in the GNOME GitLab commit and the Red Hat Bug Report #1938284.

Detection Methods for CVE-2021-3800

Indicators of Compromise

  • Unexpected charset alias configurations in user-controlled directories
  • Anomalous pkexec invocations with unusual encoding parameters
  • Log entries showing encoding conversion errors or unexpected file access patterns
  • Presence of symlinks or files attempting to manipulate charset alias resolution

Detection Strategies

  • Monitor for suspicious pkexec executions with unusual environment variables related to character encoding
  • Implement file integrity monitoring on GLib configuration and alias files
  • Use audit logging to track privileged process file access patterns
  • Deploy SentinelOne agents to detect anomalous behavior in PolicyKit-related processes

Monitoring Recommendations

  • Enable auditd rules to monitor pkexec executions and associated file access
  • Configure syslog to capture GLib-related error messages and warnings
  • Implement endpoint detection and response (EDR) solutions to identify exploitation attempts
  • Review system logs for patterns indicating charset alias manipulation attempts

How to Mitigate CVE-2021-3800

Immediate Actions Required

  • Update GNOME GLib to version 2.63.6 or later on all affected systems
  • Apply vendor-specific patches from Debian, Red Hat, or NetApp as applicable
  • Review system configurations for any suspicious charset alias modifications
  • Audit privileged process usage, particularly pkexec invocations

Patch Information

GNOME has released a fix in GLib version 2.63.6. The specific commit addressing this vulnerability is available in the GNOME GitLab repository.

Distribution-specific patches are available:

  • Red Hat/CentOS: See the Red Hat CVE-2021-3800 Advisory
  • Debian: Refer to the Debian LTS Announcement
  • NetApp: Consult the NetApp Security Advisory NTAP-20221028-0004

Workarounds

  • Restrict local access to systems running vulnerable GLib versions
  • Implement strict user privilege separation to minimize exposure
  • Consider disabling or restricting pkexec usage where not required
  • Apply security policies that limit environment variable manipulation for privileged processes
bash
# Verify GLib version on affected systems
pkg-config --modversion glib-2.0

# Check for available updates (Debian/Ubuntu)
apt-get update && apt-cache policy libglib2.0-0

# Check for available updates (RHEL/CentOS)
yum check-update glib2

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGnome Glib

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200

  • CWE-552
  • Technical References
  • Red Hat CVE-2021-3800 Advisory

  • Debian LTS Announcement

  • NetApp Security Advisory NTAP-20221028-0004
  • Vendor Resources
  • Red Hat Bug Report #1938284

  • GNOME Commit Log Update

  • Openwall OSS Security Discussion
  • Related CVEs
  • CVE-2025-14087: Gnome Glib DOS Vulnerability

  • CVE-2024-34397: GNOME GLib Auth Bypass Vulnerability

  • CVE-2025-6052: Gnome Glib Buffer Overflow Vulnerability

  • CVE-2024-52533: Gnome Glib 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