neon heap-based buffer overflow
Gentoo Linux Security Advisory
||GLSA 200405-13 / neon
||May 20, 2004
||May 20, 2004: 01
All supported architectures
A vulnerability potentially allowing remote execution of arbitrary code has
been discovered in the neon library.
neon provides an HTTP and WebDAV client library.
Stefan Esser discovered a vulnerability in the code of the neon library :
if a malicious date string is passed to the ne_rfc1036_parse() function, it
can trigger a string overflow into static heap variables.
Depending on the application linked against libneon and when connected to a
malicious WebDAV server, this vulnerability could allow execution of
arbitrary code with the rights of the user running that application.
There is no known workaround at this time. All users are advised to upgrade
to the latest available version of neon.
All users of neon should upgrade to the latest stable version:
Code Listing 3.1: Resolution
# emerge sync
# emerge -pv ">=net-misc/neon-0.24.6"
# emerge ">=net-misc/neon-0.24.6"