Multiple stack-based buffer overflows in fsplib.c in fsplib before 0.9 might allow remote attackers to execute arbitrary code via (1) a long filename that is not properly handled by the fsp_readdir_native function when MAXNAMLEN is greater than 255, or (2) a long d_name directory (dirent) field in the fsp_readdir function.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://fsp.cvs.sourceforge.net/fsp/fsplib/fsplib.c?r1=1.17&r2=1.18 | patch |
http://security.gentoo.org/glsa/glsa-200711-01.xml | vendor advisory |
http://fsp.cvs.sourceforge.net/fsp/fsplib/fsplib.c?r1=1.21&r2=1.22 | patch |
http://bugs.gentoo.org/show_bug.cgi?id=188252 | |
http://osvdb.org/38569 | vdb entry |
http://www.securityfocus.com/bid/25034 | vdb entry patch |
http://fsp.cvs.sourceforge.net/fsp/fsplib/ChangeLog?revision=1.17&view=markup | patch |
http://www.mandriva.com/security/advisories?name=MDVSA-2008:018 | vendor advisory |
http://secunia.com/advisories/26378 | third party advisory |
http://osvdb.org/38570 | vdb entry |
http://secunia.com/advisories/27501 | third party advisory |
http://secunia.com/advisories/26184 | third party advisory patch vendor advisory |