Gentoo: GLSA-202305-03: ProFTPd: Memory Disclosure
Summary
ProFTPd unconditionally sends passwords to Radius servers for authentication in multiples of 16 bytes. If a password is not of a length that is a multiple of 16 bytes, ProFTPd will read beyond the end of the password string and send bytes beyond the end of the string buffer.
Resolution
All ProFTPd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.3.7c"
References
[ 1 ] CVE-2021-46854 https://nvd.nist.gov/vuln/detail/CVE-2021-46854
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202305-03
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Background
ProFTPD is an advanced and very configurable FTP server.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-ftp/proftpd < 1.3.7c >= 1.3.7c
Impact
===== Radius servers used for authentication can receive the contents of the ProFTPd process' memory.
Workaround
There is no known workaround at this time.