Skip to main content
Public proof of conceptFix available

CVE-2022-23218

A public proof of concept exists; no exploitation attested.

  • Published2022-01-14
  • WeaknessCWE-120

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

The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.

Timeline

dates in UTC
  1. 2022-01-1407:15CVE publishedNVD

Versions per branch

NVD
Oracle enterprise operations monitor
BranchAffectedFixed in
4.3= 4.3no fix published
4.4= 4.4no fix published
5.0= 5.0no fix published
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
Gnu glibc
BranchAffectedFixed in
2.31< 2.312.31

1 more product in the sources.

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

  • eglibcUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • glibcUbuntu:Pro:16.04:LTSall versions · fixed in 2.23-0ubuntu11.3+esm1
  • glibcUbuntu:20.04:LTSall versions · fixed in 2.31-0ubuntu9.7
  • glibcUbuntu:18.04:LTSall versions · fixed in 2.27-3ubuntu1.5
  • glibcTuxCare:OracleLinux:6all versions · fixed in 2.12-2.215.el6.tuxcare.els6and 6 other packages
  • glibcTuxCare:CentOS:8.5all versions · fixed in 2.28-164.el8.tuxcare.els1and 211 other packages
  • glibcTuxCare:CentOS:8.4all versions · fixed in 2.28-151.el8.4.tuxcare.els2and 211 other packages
  • glibcTuxCare:CentOS:7all versions · fixed in 2.17-326.el7_9.3.tuxcare.els1and 6 other packages

55 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-23218 Red Hat Product Security882 products fixed · 21 known affected

    glibc: Stack-based buffer overflow in svcunix_create via long pathnames

    compat-glibc-headers as a component of Red Hat Enterprise Linux 6 · compat-glibc.src as a component of Red Hat Enterprise Linux 6 · glibc as a component of Red Hat Enterprise Linux 6 · +18 more

  • 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

  • ICSA-23-320-13 CISA1 known affected

    Siemens SIMATIC MV500

    SIMATIC MV500 family

  • SSA-099606 Siemens ProductCERT1 known affected

    SSA-099606: Multiple Vulnerabilities in SIMATIC MV500 before V3.3.5

    SIMATIC MV500 family

  • ICSA-23-166-10 CISA1 known affected

    Siemens SIMATIC S7-1500 TM MFP BIOS

    SIMATIC S7-1500 TM MFP - BIOS

2 more advisories

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. Vendor fix CISA ICSA-23-320-13 · 1 productUpdate to V3.3.5 or later version
  4. Vendor fix Siemens ProductCERT SSA-099606 · 1 productUpdate to V3.3.5 or later version
  5. Vendor fix CISA ICSA-23-166-10 · 1 productUpdate to V1.3.0 or later version
  6. Vendor fix Siemens ProductCERT SSA-831302 · 1 productUpdate to V1.3.0 or later version

Advisories and patches

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:H/I:H/A:H
Published
2022-01-14
Last Modified
2026-10-14
NVD status
Modified
GitHub Advisory
GHSA-8g8v-256r-57v7

Frequently asked questions

What is CVE-2022-23218?

The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.

Is CVE-2022-23218 actively exploited?

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

What is the CVSS score for CVE-2022-23218?

CVE-2022-23218 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 lookups · 250 API requests/month

Sources for this record