CVE-2023-4813

MEDIUM LAB

glibc < 2.36 - Use-After-Free in gaih_inet Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-4813. PoCs published by tnishiox.

AI-analyzed exploit summary This repository contains a functional PoC for CVE-2023-4813, which exploits a vulnerability in the KernelCare update mechanism. The exploit manipulates DNS resolution to trigger the vulnerability, potentially leading to privilege escalation or denial of service.

Description

A flaw has been identified in glibc. In an uncommon situation, the gaih_inet function may use memory that has been freed, resulting in 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.

Exploits (1)

nomisec WORKING POC 1 stars
by tnishiox · poc
https://github.com/tnishiox/cve-2023-4813

This repository contains a functional PoC for CVE-2023-4813, which exploits a vulnerability in the KernelCare update mechanism. The exploit manipulates DNS resolution to trigger the vulnerability, potentially leading to privilege escalation or denial of service.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: KernelCare (kcarectl)
No auth needed
Prerequisites: Access to a vulnerable system running KernelCare · Ability to manipulate DNS resolution or network traffic
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (8)

Core 8
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHBA-2024:2413
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2023:5453
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2023:5455
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2023:7409
Third Party Advisory vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2023-4813
Issue Tracking, Patch, Third Party Advisory issue-tracking x_refsource_redhat
https://bugzilla.redhat.com/show_bug.cgi?id=2237798

Scores

CVSS v3 5.9
EPSS 0.0167
EPSS Percentile 73.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Lab Environment

COMMUNITY
Community Lab
docker pull almalinux:8.8-minimal

Details

CWE
CWE-416
Status published
Products (18)
fedoraproject/fedora 38
gnu/glibc < 2.36
netapp/active_iq_unified_manager
netapp/h300s_firmware
netapp/h410c_firmware
netapp/h410s_firmware
netapp/h500s_firmware
netapp/h700s_firmware
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
... and 8 more
Published Sep 12, 2023
Tracked Since Feb 18, 2026