Skip to main content
Public proof of conceptFix available

CVE-2018-19591

A public proof of concept exists; no exploitation attested.

  • Published2018-12-04
  • WeaknessCWE-20 · CWE-404

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In the GNU C Library (aka glibc or libc6) through 2.28, attempting to resolve a crafted hostname via getaddrinfo() leads to the allocation of a socket descriptor that is not closed. This is related to the if_nametoindex() function.

Timeline

dates in UTC
  1. 2018-12-0416:29CVE publishedNVD

Versions per branch

NVD
Fedoraproject fedora
BranchAffectedFixed in
28.x= 28no fix published
29.x= 29no fix published
Gnu glibc
BranchAffectedFixed in
2.28≤ 2.28no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • glibcUbuntu:18.04:LTSall versions · fixed in 2.27-3ubuntu1.2
  • glibcUbuntu:16.04:LTSall versions · fixed in 2.23-0ubuntu11.2
  • glibcTuxCare:OracleLinux:6all versions · fixed in 2.12-2.215.el6.tuxcare.els12and 6 other packages
  • glibcTuxCare:CentOS:6all versions · fixed in 2.12-2.215.el6.tuxcare.els12and 6 other packages
  • glibcopenSUSE:Tumbleweedall versions · fixed in 2.34-1.2
  • glibcDebian:14all versions · fixed in 2.28-1
  • glibcDebian:13all versions · fixed in 2.28-1
  • glibcDebian:12all versions · fixed in 2.28-1

Vendor advisories

  • CVE-2018-19591 Red Hat Product Security

    glibc: file descriptor leak in if_nametoindex() in sysdeps/unix/sysv/linux/if_index.c

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

Full record on NVD

Fix

  1. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  2. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  3. Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2018-12-04
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-x2fw-rj3g-6m95

Frequently asked questions

What is CVE-2018-19591?

In the GNU C Library (aka glibc or libc6) through 2.28, attempting to resolve a crafted hostname via getaddrinfo() leads to the allocation of a socket descriptor that is not closed. This is related to the if_nametoindex() function.

Is CVE-2018-19591 actively exploited?

A proof-of-concept exploit exists for CVE-2018-19591, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2018-19591?

CVE-2018-19591 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running glibc? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record