CVE-2022-23219
NixOS vulnerability analysis and mitigation

Overview

The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (glibc) through version 2.34 contains a stack-based buffer overflow vulnerability. The function copies its hostname argument on the stack without validating its length, which was discovered on January 14, 2022 (CVE Database, Debian Tracker).

Technical details

The vulnerability exists in the sunrpc's clnt_gen.c module where the clnt_create() function performs an unchecked strcpy() operation of the hostname parameter to a stack buffer. This occurs specifically when processing the 'unix' transport type. The vulnerability received a CVSS 3.1 Base Score of 9.8 (Critical), indicating its severe nature (Ubuntu Security).

Impact

If successfully exploited, this vulnerability could result in a buffer overflow, potentially leading to denial of service conditions. On systems where applications are not built with stack protector enabled, it could potentially allow arbitrary code execution (Debian Tracker, Red Hat Portal).

Mitigation and workarounds

The vulnerability has been fixed in subsequent releases of glibc. Various distributions have released patches, including Debian (versions 2.31-13+deb11u11 for bullseye and 2.36-9+deb12u10 for bookworm), Ubuntu (version 2.34-0ubuntu3.2 for impish and 2.31-0ubuntu9.7 for focal), and other major distributions. Users are strongly advised to update to the patched versions (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management