Use After Free Affecting glibc package, versions <2.27-3ubuntu1.6+esm1


low

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 0.1% (40th percentile)
Expand this section
NVD
5.9 medium
Expand this section
Red Hat
5.9 medium

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 ID SNYK-UBUNTU1804-GLIBC-5901486
  • published 8 Dec 2023
  • disclosed 18 Sep 2023

How to fix?

Upgrade Ubuntu:18.04 glibc to version 2.27-3ubuntu1.6+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc package and not the glibc package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 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.