CVE-2021-40524: In Pure-FTPd 1.0.49, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, which may lead to denial of service or a server hang. This occurs because a certain greater-than-zero test does not anticipate an initial -1 value. URL is of course a pull request, CI is good but apparently untouched since July 28.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c8b17c138cb0e2361c433e88a2fa32d3e28d1c commit d2c8b17c138cb0e2361c433e88a2fa32d3e28d1c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-09-06 07:15:18 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-09-06 07:15:45 +0000 net-ftp/pure-ftpd: Revbump to fix quota check Bug: https://bugs.gentoo.org/811786 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> ...pure-ftpd-1.0.49-quota_maxfile_size_check.patch | 25 ++++ net-ftp/pure-ftpd/pure-ftpd-1.0.49-r5.ebuild | 160 +++++++++++++++++++++ 2 files changed, 185 insertions(+)
Please file a stable request and block this bug when ready.
Please cleanup.
Cleanup has been done already.