Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 191300 - CVE-2005-4798 nfs client: handle long symlinks properly
CVE-2005-4798 nfs client: handle long symlinks properly
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: kernel (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Don Howard
Brian Brock
: Security
Depends On:
  Show dependency treegraph
Reported: 2006-05-10 12:48 EDT by Marcel Holtmann
Modified: 2007-11-30 17:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-12 14:00:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marcel Holtmann 2006-05-10 12:48:15 EDT
Buffer overflow in NFS readlink handling in the Linux Kernel 2.4 up to 2.4.31
allows remote NFS servers to cause a denial of service via a long symlink.

More detailed description can be found in bug 169230.
Comment 1 Don Howard 2006-05-12 14:00:45 EDT
It looks like rhel2 gets this right:

        strlen = (u32*)res->buffer;
        /* Convert length of symlink */
        len = ntohl(*strlen);
        if (len > res->bufsiz - 5)
                len = res->bufsiz - 5;
        *strlen = len;
        /* NULL terminate the string we got */
        string = (char *)(strlen + 1);
        string[len] = 0;

(nfs2/3 on pensacola and derry are all similar)

Note You need to log in before you can comment on or make changes to this bug.