CVE-2022-23218

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

Published Jan 14, 2022 CVSS 3.1 · 9.8 Critical EPSS 5.7% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3152-1 glibc security update
EUVD EUVD EUVD-2022-28307 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.
Ubuntu USN Ubuntu USN USN-5310-1 GNU C Library vulnerabilities
Ubuntu USN Ubuntu USN USN-5310-2 GNU C Library vulnerabilities
History
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 3:39 PM
Reserved
Jan 14, 2022, 12:00 AM
Status
Modified
Published
Jan 14, 2022, 7:15 AM
Modified
Oct 14, 2026, 4:17 PM
Severity
Moderate
Public date
Jan 12, 2022, 12:00 AM