CVE-2007-5962: High severity redhat Enterprise Linux vulnerability

Published Nov 23, 2007
·
Updated

Description of problem: There is a memory leak that causes memory to be allocated but not freed. When the denyfile option is set, it is possible to easily exploit this. This is a regression caused by applied patch in bz174764. Problem also exists in FC-6, F-7, F-8 and fedora/devel. Attached is a patch to solve the problem.

Version-Release number of selected component (if applicable): vsftpd-2.0.5-10.el5

How reproducible: always

Steps to Reproduce: echo denyfile=foo >> /etc/vsftpd/vsftpd.conf service vsftpd restart

$ cat > memtest.sh << EOF #!/bin/bash echo USER anonymous echo PASS foo

while [ 1 ]; do echo CWD pub echo CWD .. done EOF

$ chmod 700 memtest.sh $ ./memtest.sh | telnet localhost 21 > /dev/null

Actual results: vsftpd starts to allocate memory that will never be freed.

Expected results:

Additional info: It is possible that the memory leak can be exploited by other means, or with other vsftpd.conf options. This was not investigated into more depth.

Other sources

Memory leak in a certain Red Hat patch, applied to vsftpd 2.0.5 on Red Hat Enterprise Linux (RHEL) 5 and Fedora 6 through 8, and on Foresight Linux and rPath appliances, allows remote attackers to cause a denial of service (memory consumption) via a large number of CWD commands, as demonstrated by an attack on a daemon with the denyfile configuration option.

Affected Software

6 affected components
redhat Enterprise Linux=5.0
redhat Fedora=6
redhat Fedora=7
redhat Fedora=8
Foresight Linux appliances
rPath Appliance Platform Agent

Event History

Nov 23, 2007
Data Sourced
via Red Hat·03:51 PM
DescriptionSeverityAffected Software
May 22, 2008
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
01:09 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2007-5962?

CVE-2007-5962 is considered a medium severity vulnerability due to its potential for exploitation through a memory leak.

2

How do I fix CVE-2007-5962?

To fix CVE-2007-5962, ensure you update to the latest version of the affected software that addresses the memory leak.

3

Which software is affected by CVE-2007-5962?

CVE-2007-5962 affects Red Hat Enterprise Linux 5.0, Fedora versions 6 to 8, Foresight Linux, and rPath Appliance Platform Agent.

4

Can CVE-2007-5962 be exploited easily?

Yes, CVE-2007-5962 can be easily exploited when the deny_file option is set, leading to potential memory issues.

5

What are the potential consequences of CVE-2007-5962?

The consequences of CVE-2007-5962 include increased memory usage and potential application crashes due to the memory leak.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203