CVE-2021-46854
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-46854 affects the mod_radius component in ProFTPD versions before 1.3.7c. The vulnerability was discovered in 2021 and publicly disclosed on November 23, 2022. The issue allows memory disclosure to RADIUS servers because it copies blocks of 16 characters during password authentication (NVD, Gentoo Security).

Technical details

The vulnerability occurs in mod_radius when it copies the client-supplied password into a temporary buffer to encrypt it with the RADIUS shared secret. The module follows padding rules that require the password length to be a multiple of 16. When the password length is not an exact multiple, mod_radius copies the 'rounded up' count of bytes from the password buffer into the temporary buffer, thereby leaking memory contents beyond the actual password. For FTP sessions, this often results in a copy of the password itself, preceded by some null bytes and followed by arbitrary memory contents (GitHub Issue). 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:H/I:N/A:N (NVD).

Impact

The vulnerability allows RADIUS servers used for authentication to receive unauthorized contents of the ProFTPD process's memory. This could potentially expose sensitive information that resides in the process memory (Gentoo Security).

Exploitability

The vulnerability is remotely exploitable and requires no user interaction or special privileges. It can be triggered during the normal authentication process when RADIUS authentication is enabled (NVD).

Mitigation and workarounds

The vulnerability was fixed in ProFTPD version 1.3.7c. Users are advised to upgrade to this version or later. There are no known workarounds for this vulnerability other than upgrading to a patched version (Gentoo Security, Release Notes).

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-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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