Skip to content
VulniPulse
Advisory severityMedium5.9Red Hat Linux

Medium [CVE-2023-4813] Glibc: potential use-after-free in gaih_inet

This medium-severity Red Hat Linux advisory covers CVE-2023-4813 affecting Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 9, Red Hat Virtualization 4 for Red Hat Enterprise Linux 8.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2023-4813 Source published Source updated

VulniPulse record published

Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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. This issue is only exploitable when the condition detailed in the description is present in the system.

However, all glibc versions shipped in Red Hat Enterprise Linux are vulnerable to this issue. Red Hat severity: Moderate — CVSS 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Weakness: CWE-416. Affected Red Hat products: Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8.6 Extended Update Support; Red Hat Enterprise Linux 9; Red Hat Virtualization 4 for Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7.

Will not fix / out of support: Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7. Red Hat fixing advisory: RHSA-2023:5455, RHSA-2023:7409, RHBA-2024:2413, RHSA-2023:5453.

Affected products named by the advisory: Red Hat package: glibc; Red Hat package: compat-glibc.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 9 hours ago·verify at source

Fixed versions
  • glibc-0:2.28-225.el8_8.6
  • glibc-0:2.28-189.8.el8_6
  • glibc-0:2.34-100.el9
  • glibc-0:2.34-60.el9_2.7
  • RHSA-2023:5455
  • RHSA-2023:7409
  • RHBA-2024:2413
  • RHSA-2023:5453

Official advisory · high-confidence parse· fetched 9 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Removing the "SUCCESS=continue" or "SUCCESS=merge" configuration from the hosts database in /etc/nsswitch.conf will mitigate this vulnerability. Note that, these options are not supported by the hosts database, if they were working before it was because of this bug.

Official advisory · high-confidence parse· fetched 9 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.