Glibc: stack read overflow in getaddrinfo in no-aaaa mode

Summary

CVECVE-2023-4527
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-09-18 17:15:55 UTC
Updated2026-05-12 11:16:15 UTC
DescriptionA 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.5MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
3.1CNACVSS6.5MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Glibc All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2023-08-24T00:00:00.000ZReported to Red Hat.
CNA2023-09-12T00:00:00.000ZMade 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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report