CVE-2021-46854
ProFTPd 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 modradius 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, modradius 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).

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 ProFTPd vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2010-20103CRITICAL9.3
  • ProFTPdProFTPd
  • cpe:2.3:a:proftpd:proftpd
NoNoAug 20, 2025
CVE-2024-48651HIGH7.5
  • ProFTPdProFTPd
  • proftpd-dfsg
NoYesNov 29, 2024
CVE-2023-51713HIGH7.5
  • ProFTPdProFTPd
  • proftpd-doc
NoYesDec 22, 2023
CVE-2021-46854HIGH7.5
  • ProFTPdProFTPd
  • proftpd-dfsg
NoYesNov 23, 2022
CVE-2023-48795MEDIUM5.9
  • PythonPython
  • proftpd-doc
NoYesDec 18, 2023

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