Out-of-bounds read in Pure-FTPd - CVE-2020-9365

 

Out-of-bounds read in Pure-FTPd - CVE-2020-9365

Published: February 27, 2020 / Updated: June 15, 2022


Vulnerability identifier: #VU25649
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-9365
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the pure_strcmp function in utils.c. A remote authenticated user can use a specially crafted FTP command to trigger out-of-bounds read error and read contents of memory on the system.

Affected software

Pure-FTPd
Gentoo Linux
Fedora
pure-ftpd (Alpine package)
pure-ftpd

How to mitigate CVE-2020-9365

Install update from vendor's website.

Pure-FTPd - update to 1.0.50
pure-ftpd (Alpine package) - update to 1.0.49-r1
pure-ftpd - addressed in versions 1.0.47-4.el7, 1.0.49-4.el8, 1.0.49-5.fc30, 1.0.49-5.fc31, 1.0.49-5.fc32

External References

Related Security Bulletins