UBUNTU-CVE-2023-4806 (CVE-2023-4806)

Vulnerability from osv_ubuntu – Published: 2023-09-18 17:15 – Updated: 2026-04-22 07:45 – Source website
VLAI
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "eglibc-source",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc-bin",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc-dev-bin",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-amd64",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-armel",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-dev-amd64",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-dev-armel",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-dev-i386",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-dev-x32",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-i386",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-pic",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-prof",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "libc6-x32",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "multiarch-support",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          },
          {
            "binary_name": "nscd",
            "binary_version": "2.19-0ubuntu6.15+esm4"
          }
        ],
        "priority_reason": "No known NSS modules expose the vulnerability"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "eglibc",
        "purl": "pkg:deb/ubuntu/eglibc@2.19-0ubuntu6.15+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.17-93ubuntu4",
        "2.18-0ubuntu1",
        "2.18-0ubuntu2",
        "2.18-0ubuntu4",
        "2.18-0ubuntu5",
        "2.18-0ubuntu6",
        "2.18-0ubuntu7",
        "2.19-0ubuntu2",
        "2.19-0ubuntu3",
        "2.19-0ubuntu4",
        "2.19-0ubuntu5",
        "2.19-0ubuntu6",
        "2.19-0ubuntu6.1",
        "2.19-0ubuntu6.3",
        "2.19-0ubuntu6.4",
        "2.19-0ubuntu6.5",
        "2.19-0ubuntu6.6",
        "2.19-0ubuntu6.7",
        "2.19-0ubuntu6.8",
        "2.19-0ubuntu6.9",
        "2.19-0ubuntu6.10",
        "2.19-0ubuntu6.11",
        "2.19-0ubuntu6.13",
        "2.19-0ubuntu6.14",
        "2.19-0ubuntu6.15",
        "2.19-0ubuntu6.15+esm1",
        "2.19-0ubuntu6.15+esm2",
        "2.19-0ubuntu6.15+esm3",
        "2.19-0ubuntu6.15+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "glibc-source",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc-bin",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc-dev-bin",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-amd64",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-armel",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-dev-amd64",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-dev-armel",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-dev-i386",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-dev-s390",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-dev-x32",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-i386",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-pic",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-s390",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "libc6-x32",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "locales",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "locales-all",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "multiarch-support",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          },
          {
            "binary_name": "nscd",
            "binary_version": "2.23-0ubuntu11.3+esm5"
          }
        ],
        "priority_reason": "No known NSS modules expose the vulnerability"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "glibc",
        "purl": "pkg:deb/ubuntu/glibc@2.23-0ubuntu11.3+esm5?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.23-0ubuntu11.3+esm5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.21-0ubuntu4",
        "2.21-0ubuntu5",
        "2.21-0ubuntu6",
        "2.23-0ubuntu1",
        "2.23-0ubuntu2",
        "2.23-0ubuntu3",
        "2.23-0ubuntu4",
        "2.23-0ubuntu5",
        "2.23-0ubuntu6",
        "2.23-0ubuntu7",
        "2.23-0ubuntu9",
        "2.23-0ubuntu10",
        "2.23-0ubuntu11",
        "2.23-0ubuntu11.2",
        "2.23-0ubuntu11.3",
        "2.23-0ubuntu11.3+esm1",
        "2.23-0ubuntu11.3+esm2",
        "2.23-0ubuntu11.3+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "glibc-source",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc-bin",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc-dev-bin",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-amd64",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-armel",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-dev-amd64",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-dev-armel",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-dev-i386",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-dev-s390",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-dev-x32",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-i386",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-lse",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-pic",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-s390",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "libc6-x32",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "locales",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "locales-all",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "multiarch-support",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          },
          {
            "binary_name": "nscd",
            "binary_version": "2.27-3ubuntu1.6+esm1"
          }
        ],
        "priority_reason": "No known NSS modules expose the vulnerability"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "glibc",
        "purl": "pkg:deb/ubuntu/glibc@2.27-3ubuntu1.6+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.27-3ubuntu1.6+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.26-0ubuntu2",
        "2.26-0ubuntu2.1",
        "2.27-0ubuntu2",
        "2.27-0ubuntu3",
        "2.27-3ubuntu1",
        "2.27-3ubuntu1.2",
        "2.27-3ubuntu1.3",
        "2.27-3ubuntu1.4",
        "2.27-3ubuntu1.5",
        "2.27-3ubuntu1.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "glibc-source",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc-bin",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc-dev-bin",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-amd64",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-armel",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-dev-amd64",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-dev-armel",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-dev-i386",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-dev-s390",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-dev-x32",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-i386",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-lse",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-pic",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-prof",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-s390",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "libc6-x32",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "locales",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "locales-all",
            "binary_version": "2.31-0ubuntu9.14"
          },
          {
            "binary_name": "nscd",
            "binary_version": "2.31-0ubuntu9.14"
          }
        ],
        "priority_reason": "No known NSS modules expose the vulnerability"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "glibc",
        "purl": "pkg:deb/ubuntu/glibc@2.31-0ubuntu9.14?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.31-0ubuntu9.14"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.30-0ubuntu2",
        "2.30-0ubuntu3",
        "2.31-0ubuntu5",
        "2.31-0ubuntu6",
        "2.31-0ubuntu7",
        "2.31-0ubuntu9",
        "2.31-0ubuntu9.1",
        "2.31-0ubuntu9.2",
        "2.31-0ubuntu9.3",
        "2.31-0ubuntu9.7",
        "2.31-0ubuntu9.9",
        "2.31-0ubuntu9.12"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "glibc-source",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc-bin",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc-dev-bin",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc-devtools",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-amd64",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-dev-amd64",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-dev-i386",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-dev-s390",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-dev-x32",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-i386",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-prof",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-s390",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "libc6-x32",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "locales",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "locales-all",
            "binary_version": "2.35-0ubuntu3.5"
          },
          {
            "binary_name": "nscd",
            "binary_version": "2.35-0ubuntu3.5"
          }
        ],
        "priority_reason": "No known NSS modules expose the vulnerability"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "glibc",
        "purl": "pkg:deb/ubuntu/glibc@2.35-0ubuntu3.5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.35-0ubuntu3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.34-0ubuntu3",
        "2.35-0ubuntu1",
        "2.35-0ubuntu3",
        "2.35-0ubuntu3.1",
        "2.35-0ubuntu3.3",
        "2.35-0ubuntu3.4"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2023-4806",
  "modified": "2026-04-22T07:45:07Z",
  "published": "2023-09-18T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-4806"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6541-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6541-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-4806"
    }
  ],
  "related": [
    "USN-6541-1",
    "USN-6541-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-4806"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.