Advisory

UBUNTU-CVE-2023-4806

Also known as: CVE-2023-4806

Summary

The record has no summary.

Details

A flaw has been identified 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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-09-18 17:15 UTC
Modified
2026-04-22 14:14 UTC

Affected packages and fixes

glibc

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.31-0ubuntu9.14 (ecosystem)

Fixed versions

2.31-0ubuntu9.14

Fix

  • Fixed version 2.31-0ubuntu9.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

glibc

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.35-0ubuntu3.5 (ecosystem)

Fixed versions

2.35-0ubuntu3.5

Fix

  • Fixed version 2.35-0ubuntu3.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences