Glibc: stack read overflow in getaddrinfo in no-aaaa mode
Summary
| CVE | CVE-2023-4527 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-09-18 17:15:55 UTC |
| Updated | 2026-05-12 11:16:15 UTC |
| Description | A flaw was found in glibc. When the getaddrinfo function is called with the AF_UNSPEC address family and the system is configured with no-aaaa mode via /etc/resolv.conf, a DNS response via TCP larger than 2048 bytes can potentially disclose stack contents through the function returned address data, and may cause a crash. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
Problem Types: CWE-121 | CWE-125 | CWE-121 Stack-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
| 3.1 | CNA | CVSS | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.28-225.el8_8.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:2.28-225.el8_8.6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-60.el9_2.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:2.34-60.el9_2.7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| 2234712 – (CVE-2023-4527) CVE-2023-4527 glibc: Stack read overflow in getaddrinfo in no-aaaa mode | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Exploit, Issue Tracking, Third Party Advisory |
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-082556.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| glibc: Multiple vulnerabilities (GLSA 202310-03) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| [SECURITY] Fedora 38 Update: glibc-2.37-10.fc38 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-831302.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| oss-security - CVE-2023-4527: glibc: Stack read overflow in getaddrinfo in no-aaaa mode | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 39 Update: glibc-2.38-6.fc39 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 37 Update: glibc-2.36-14.fc37 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| security.netapp.com/advisory/ntap-20231116-0012 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was discovered by Florian Weimer (Red Hat). (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-08-24T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-09-12T00:00:00.000Z | Made public. |
Workarounds
CNA: Removing the no-aaaa diagnostic option from /etc/resolv.conf will mitigate this flaw.
Legacy QID Mappings
- 160965 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5455)
- 160968 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-5453)
- 160973 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12872)
- 160974 Oracle Enterprise Linux Security Update for glibc (ELSA-2023-12873)
- 199798 Ubuntu Security Notification for GNU C Library Vulnerabilities (USN-6409-1)
- 242111 Red Hat Update for glibc (RHSA-2023:5453)
- 242118 Red Hat Update for glibc (RHSA-2023:5455)
- 284570 Fedora Security Update for glibc (FEDORA-2023-2b8c11ee75)
- 284571 Fedora Security Update for glibc (FEDORA-2023-028062484e)
- 285226 Fedora Security Update for glibc (FEDORA-2023-63e5a77522)
- 356310 Amazon Linux Security Advisory for glibc : ALAS2023-2023-359
- 378929 Alibaba Cloud Linux Security Update for glibc (ALINUX3-SA-2023:0124)
- 6000014 Debian Security Update for glibc (DSA 5514-1)
- 6140299 AWS Bottlerocket Security Update for glibc (GHSA-j8jx-vx9f-w72c)
- 710764 Gentoo Linux glibc Multiple Vulnerabilities (GLSA 202310-03)
- 941278 AlmaLinux Security Update for glibc (ALSA-2023:5455)
- 941283 AlmaLinux Security Update for glibc (ALSA-2023:5453)
- 961035 Rocky Linux Security Update for glibc (RLSA-2023:5455)