CVE-2021-46828
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-46828 affects libtirpc versions before 1.3.3rc1. The vulnerability was discovered in July 2022 and affects the transport-independent RPC library's handling of TCP connections. The vulnerability impacts systems using libtirpc for remote procedure calls, including various Linux distributions and network-dependent applications (NVD).

Technical details

The vulnerability stems from improper handling of idle TCP connections in libtirpc. When the number of connections reaches the limit of open file descriptors (ulimit -n), accept(2) fails with EMFILE error. Due to lack of proper error handling, this causes svc_run() to enter a tight loop calling accept(2), preventing the RPC service from servicing any new requests. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Gentoo Security).

Impact

The vulnerability can lead to a denial of service (DoS) condition. Remote attackers can exploit this flaw by establishing enough connections to libtirpc to exhaust the file descriptors of a process, causing the service to enter an infinite loop and become unresponsive to new connections (Debian Security).

Mitigation and workarounds

The vulnerability has been fixed in libtirpc version 1.3.3rc1 and later. Users are recommended to upgrade to the patched versions. Various Linux distributions have released security updates: Debian has fixed it in version 1.3.1-1+deb11u1 for bullseye, Red Hat has addressed it in version 1.3.3-0.el9, and Gentoo recommends upgrading to version 1.3.2 or later (Debian Security, Red Hat Security).

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-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

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