Articles / Red Hat: Updated cadaver pa…

Red Hat: Updated cadaver package fixes security vulnerability in neon

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 heap buffer overflow in a date parsing routine. An attacker could create a malicious WebDAV server in such a way as to allow arbitrary code execution on the client should a user connect to it using cadaver. Updated packages are available from updates.redhat.com.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated cadaver package fixes security vulnerability in neon
Advisory ID:       RHSA-2004:191-01
Issue date:        2004-05-19
Updated on:        2004-05-19
Product:           Red Hat Enterprise Linux
Keywords:          cadaver neon sscanf
Cross references:  
Obsoletes:         
CVE Names:         CAN-2004-0398
- ---------------------------------------------------------------------

1. Topic:

An updated cadaver package is now available that fixes a vulnerability in
neon which could be exploitable by a malicious DAV server.

2. 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

3. Problem description:

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 heap
buffer overflow in a date parsing routine.  An attacker could create
a malicious WebDAV server in such a way as to allow arbitrary code
execution on the client should a user connect to it using cadaver.  The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-0398 to this issue.

Users of cadaver are advised to upgrade to this updated package, which
contains a patch correcting this issue.

This issue does not affect Red Hat Enterprise Linux 3.

4. 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://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla 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:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/cadaver-0.22.1-1.0.src.rpm

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:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/cadaver-0.22.1-1.0.src.rpm

ia64:
Available from Red Hat Network: cadaver-0.22.1-1.0.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/cadaver-0.22.1-1.0.src.rpm

i386:
Available from Red Hat Network: cadaver-0.22.1-1.0.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/cadaver-0.22.1-1.0.src.rpm

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 https://www.redhat.com/security/team/key.html

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 


8. References:

http://security.e-matters.de/advisories/062004.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0398

9. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAqwNQXlSAg2UNWIIRAmXqAKCurcsUZfwGu6+fgC06m35/eKXlNQCfbBak
jIQQrW6w/XGUKSv5wLAlbus=
=y2qa
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.