Use After Free Affecting glibc-langpack-ca package, versions <0:2.34-60.el9_2.7


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.13% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-GLIBCLANGPACKCA-5949207
  • published7 Oct 2023
  • disclosed5 Oct 2023

Introduced: 5 Oct 2023

CVE-2023-4806  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 glibc-langpack-ca to version 0:2.34-60.el9_2.7 or higher.
This issue was patched in ALSA-2023:5453.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc-langpack-ca package and not the glibc-langpack-ca package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

A flaw was found in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the nss_gethostbyname2_r and nss_getcanonname_r hooks without implementing the nss*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.

CVSS Scores

version 3.1