OESA-2023-1688 (CVE-2023-4806)
Vulnerability from osv_openeuler – Published: 2023-09-28 11:06 – Updated: 2026-08-06 11:06 – Source websiteThe GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.
Security Fix(es):
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 nssgethostbyname2_r and _nssgetcanonname_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.(CVE-2023-4806)
A flaw was found 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.(CVE-2023-4813)
A flaw was found in the GNU C Library. A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.(CVE-2023-5156)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"glibc-compat-2.17-2.28-97.oe1.aarch64.rpm",
"glibc-debugutils-2.28-97.oe1.aarch64.rpm",
"glibc-debuginfo-2.28-97.oe1.aarch64.rpm",
"glibc-locale-source-2.28-97.oe1.aarch64.rpm",
"glibc-debugsource-2.28-97.oe1.aarch64.rpm",
"nscd-2.28-97.oe1.aarch64.rpm",
"libnsl-2.28-97.oe1.aarch64.rpm",
"nss_modules-2.28-97.oe1.aarch64.rpm",
"glibc-2.28-97.oe1.aarch64.rpm",
"glibc-devel-2.28-97.oe1.aarch64.rpm",
"glibc-all-langpacks-2.28-97.oe1.aarch64.rpm",
"glibc-benchtests-2.28-97.oe1.aarch64.rpm",
"glibc-nss-devel-2.28-97.oe1.aarch64.rpm",
"glibc-common-2.28-97.oe1.aarch64.rpm"
],
"noarch": [
"glibc-help-2.28-97.oe1.noarch.rpm"
],
"src": [
"glibc-2.28-97.oe1.src.rpm"
],
"x86_64": [
"glibc-all-langpacks-2.28-97.oe1.x86_64.rpm",
"glibc-debugutils-2.28-97.oe1.x86_64.rpm",
"glibc-debuginfo-2.28-97.oe1.x86_64.rpm",
"glibc-common-2.28-97.oe1.x86_64.rpm",
"glibc-benchtests-2.28-97.oe1.x86_64.rpm",
"glibc-compat-2.17-2.28-97.oe1.x86_64.rpm",
"glibc-devel-2.28-97.oe1.x86_64.rpm",
"glibc-nss-devel-2.28-97.oe1.x86_64.rpm",
"glibc-debugsource-2.28-97.oe1.x86_64.rpm",
"nscd-2.28-97.oe1.x86_64.rpm",
"glibc-2.28-97.oe1.x86_64.rpm",
"glibc-locale-source-2.28-97.oe1.x86_64.rpm",
"libnsl-2.28-97.oe1.x86_64.rpm",
"nss_modules-2.28-97.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "glibc",
"purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.28-97.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"glibc-debugutils-2.28-97.oe1.aarch64.rpm",
"glibc-nss-devel-2.28-97.oe1.aarch64.rpm",
"glibc-all-langpacks-2.28-97.oe1.aarch64.rpm",
"glibc-2.28-97.oe1.aarch64.rpm",
"libnsl-2.28-97.oe1.aarch64.rpm",
"nscd-2.28-97.oe1.aarch64.rpm",
"glibc-locale-source-2.28-97.oe1.aarch64.rpm",
"nss_modules-2.28-97.oe1.aarch64.rpm",
"glibc-devel-2.28-97.oe1.aarch64.rpm",
"glibc-common-2.28-97.oe1.aarch64.rpm",
"glibc-debuginfo-2.28-97.oe1.aarch64.rpm",
"glibc-benchtests-2.28-97.oe1.aarch64.rpm",
"glibc-compat-2.17-2.28-97.oe1.aarch64.rpm",
"glibc-debugsource-2.28-97.oe1.aarch64.rpm"
],
"noarch": [
"glibc-help-2.28-97.oe1.noarch.rpm"
],
"src": [
"glibc-2.28-97.oe1.src.rpm"
],
"x86_64": [
"glibc-devel-2.28-97.oe1.x86_64.rpm",
"glibc-compat-2.17-2.28-97.oe1.x86_64.rpm",
"libnsl-2.28-97.oe1.x86_64.rpm",
"glibc-debugutils-2.28-97.oe1.x86_64.rpm",
"glibc-benchtests-2.28-97.oe1.x86_64.rpm",
"glibc-all-langpacks-2.28-97.oe1.x86_64.rpm",
"glibc-nss-devel-2.28-97.oe1.x86_64.rpm",
"nscd-2.28-97.oe1.x86_64.rpm",
"glibc-2.28-97.oe1.x86_64.rpm",
"glibc-locale-source-2.28-97.oe1.x86_64.rpm",
"glibc-common-2.28-97.oe1.x86_64.rpm",
"glibc-debugsource-2.28-97.oe1.x86_64.rpm",
"glibc-debuginfo-2.28-97.oe1.x86_64.rpm",
"nss_modules-2.28-97.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP3",
"name": "glibc",
"purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-20.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.28-97.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"glibc-compat-2.17-2.34-136.oe2203.aarch64.rpm",
"nss_modules-2.34-136.oe2203.aarch64.rpm",
"glibc-common-2.34-136.oe2203.aarch64.rpm",
"glibc-debugsource-2.34-136.oe2203.aarch64.rpm",
"glibc-nss-devel-2.34-136.oe2203.aarch64.rpm",
"nscd-2.34-136.oe2203.aarch64.rpm",
"glibc-locale-archive-2.34-136.oe2203.aarch64.rpm",
"glibc-all-langpacks-2.34-136.oe2203.aarch64.rpm",
"glibc-debugutils-2.34-136.oe2203.aarch64.rpm",
"glibc-devel-2.34-136.oe2203.aarch64.rpm",
"glibc-2.34-136.oe2203.aarch64.rpm",
"glibc-locale-source-2.34-136.oe2203.aarch64.rpm",
"glibc-debuginfo-2.34-136.oe2203.aarch64.rpm",
"libnsl-2.34-136.oe2203.aarch64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debugutils-2.34-136.oe2203sp1.aarch64.rpm",
"nss_modules-2.34-136.oe2203sp1.aarch64.rpm",
"nscd-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-common-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debugsource-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-devel-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-locale-source-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp1.aarch64.rpm",
"libnsl-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-common-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-locale-source-2.34-136.oe2203sp2.aarch64.rpm",
"nss_modules-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debugutils-2.34-136.oe2203sp2.aarch64.rpm",
"libnsl-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp2.aarch64.rpm",
"nscd-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debugsource-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-devel-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp2.aarch64.rpm"
],
"noarch": [
"glibc-help-2.34-136.oe2203.noarch.rpm",
"glibc-help-2.34-136.oe2203sp1.noarch.rpm",
"glibc-help-2.34-136.oe2203sp2.noarch.rpm"
],
"src": [
"glibc-2.34-136.oe2203.src.rpm",
"glibc-2.34-136.oe2203sp1.src.rpm",
"glibc-2.34-136.oe2203sp2.src.rpm"
],
"x86_64": [
"nss_modules-2.34-136.oe2203.x86_64.rpm",
"glibc-debuginfo-2.34-136.oe2203.x86_64.rpm",
"glibc-common-2.34-136.oe2203.x86_64.rpm",
"glibc-compat-2.17-2.34-136.oe2203.x86_64.rpm",
"glibc-locale-source-2.34-136.oe2203.x86_64.rpm",
"glibc-debugutils-2.34-136.oe2203.x86_64.rpm",
"glibc-debugsource-2.34-136.oe2203.x86_64.rpm",
"glibc-2.34-136.oe2203.x86_64.rpm",
"nscd-2.34-136.oe2203.x86_64.rpm",
"glibc-devel-2.34-136.oe2203.x86_64.rpm",
"glibc-all-langpacks-2.34-136.oe2203.x86_64.rpm",
"glibc-locale-archive-2.34-136.oe2203.x86_64.rpm",
"glibc-nss-devel-2.34-136.oe2203.x86_64.rpm",
"libnsl-2.34-136.oe2203.x86_64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-locale-source-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debugsource-2.34-136.oe2203sp1.x86_64.rpm",
"nscd-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-common-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-devel-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debugutils-2.34-136.oe2203sp1.x86_64.rpm",
"nss_modules-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp1.x86_64.rpm",
"libnsl-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-common-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-locale-source-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debugutils-2.34-136.oe2203sp2.x86_64.rpm",
"libnsl-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-devel-2.34-136.oe2203sp2.x86_64.rpm",
"nscd-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debugsource-2.34-136.oe2203sp2.x86_64.rpm",
"nss_modules-2.34-136.oe2203sp2.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS",
"name": "glibc",
"purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-22.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.34-136.oe2203sp2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"glibc-compat-2.17-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debugutils-2.34-136.oe2203sp1.aarch64.rpm",
"nss_modules-2.34-136.oe2203sp1.aarch64.rpm",
"nscd-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-common-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debugsource-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-devel-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-locale-source-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp1.aarch64.rpm",
"libnsl-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp1.aarch64.rpm",
"glibc-2.34-136.oe2203sp1.aarch64.rpm"
],
"noarch": [
"glibc-help-2.34-136.oe2203sp1.noarch.rpm"
],
"src": [
"glibc-2.34-136.oe2203sp1.src.rpm"
],
"x86_64": [
"glibc-locale-archive-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-locale-source-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debugsource-2.34-136.oe2203sp1.x86_64.rpm",
"nscd-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-common-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-devel-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-debugutils-2.34-136.oe2203sp1.x86_64.rpm",
"nss_modules-2.34-136.oe2203sp1.x86_64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp1.x86_64.rpm",
"libnsl-2.34-136.oe2203sp1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP1",
"name": "glibc",
"purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-22.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.34-136.oe2203sp1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"glibc-nss-devel-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-common-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-locale-source-2.34-136.oe2203sp2.aarch64.rpm",
"nss_modules-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debugutils-2.34-136.oe2203sp2.aarch64.rpm",
"libnsl-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp2.aarch64.rpm",
"nscd-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debugsource-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-compat-2.17-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-devel-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp2.aarch64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp2.aarch64.rpm"
],
"noarch": [
"glibc-help-2.34-136.oe2203sp2.noarch.rpm"
],
"src": [
"glibc-2.34-136.oe2203sp2.src.rpm"
],
"x86_64": [
"glibc-compat-2.17-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debuginfo-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-common-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-nss-devel-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-locale-archive-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-locale-source-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debugutils-2.34-136.oe2203sp2.x86_64.rpm",
"libnsl-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-all-langpacks-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-devel-2.34-136.oe2203sp2.x86_64.rpm",
"nscd-2.34-136.oe2203sp2.x86_64.rpm",
"glibc-debugsource-2.34-136.oe2203sp2.x86_64.rpm",
"nss_modules-2.34-136.oe2203sp2.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS-SP2",
"name": "glibc",
"purl": "pkg:rpm/openEuler/glibc\u0026distro=openEuler-22.03-LTS-SP2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.34-136.oe2203sp2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.\r\n\r\nSecurity Fix(es):\r\n\r\nA 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.(CVE-2023-4806)\r\n\r\nA flaw was found 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.(CVE-2023-4813)\r\n\r\nA flaw was found in the GNU C Library. A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.(CVE-2023-5156)",
"id": "OESA-2023-1688",
"modified": "2026-08-06T11:06:08Z",
"published": "2023-09-28T11:06:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1688"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4806"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4813"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5156"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "glibc security update",
"upstream": [
"CVE-2023-4806",
"CVE-2023-4813",
"CVE-2023-5156"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.