Red Hat: cadaver Heap overflow vulnerability
Summary
Summary
cadaver is a command-line WebDAV client that uses inbuilt code from neon,an HTTP and WebDAV client library.Stefan Esser discovered a flaw in the neon library which allows a heapbuffer overflow in a date parsing routine. An attacker could createa malicious WebDAV server in such a way as to allow arbitrary codeexecution on the client should a user connect to it using cadaver. TheCommon Vulnerabilities and Exposures project (cve.mitre.org) has assignedthe name CAN-2004-0398 to this issue.Users of cadaver are advised to upgrade to this updated package, whichcontains a patch correcting this issue.This issue does not affect Red Hat Enterprise Linux 3.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate. The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:
https://access.redhat.com
5. Bug IDs fixed ( for more info):
122497 - CAN-2004-0398 heap overflow in neon affects cadaver
6. RPMs required:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS:
i386:
Available from Red Hat Network: cadaver-0.22.1-1.0.i386.rpm
ia64:
Available from Red Hat Network: cadaver-0.22.1-1.0.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS:
ia64:
Available from Red Hat Network: cadaver-0.22.1-1.0.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS:
i386:
Available from Red Hat Network: cadaver-0.22.1-1.0.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS:
i386:
Available from Red Hat Network: cadaver-0.22.1-1.0.i386.rpm
7. Verification:
MD5 sum Package Name
74352b500efc9fe95b932db561a97301 cadaver-0.22.1-1.0.i386.rpm
504c70514d6fe70edd342fe05809f059 cadaver-0.22.1-1.0.ia64.rpm
f61038fc22fd38899ee8366ed77c99a6 cadaver-0.22.1-1.0.src.rpm
These packages are GPG signed by Red Hat for security. Our key is
available from
You can verify each package with the following command:
rpm --checksig -v
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
md5sum
References
Package List
Topic
Topic
An updated cadaver package is now available that fixes a vulnerability in
neon which could be exploitable by a malicious DAV server.
Relevant Releases Architectures
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Bugs Fixed