FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

findutils -- GNU locate heap buffer overrun

Affected packages
findutils < 4.2.31

Details

VuXML ID 7ca2a709-103b-11dc-8e82-00001cd613f9
Discovery 2007-05-30
Entry 2007-06-01

James Youngman reports:

When GNU locate reads filenames from an old-format locate database, they are read into a fixed-length buffer allocated on the heap. Filenames longer than the 1026-byte buffer can cause a buffer overrun. The overrunning data can be chosen by any person able to control the names of filenames created on the local system. This will normally include all local users, but in many cases also remote users (for example in the case of FTP servers allowing uploads).

References

CVE Name CVE-2007-2452
Message http://lists.gnu.org/archive/html/bug-findutils/2007-06/msg00000.html