Various bugs were found in NDR parsing, used to decode MS-RPC requests inSamba. A remote attacker could have sent carefully crafted requestscausing a heap overflow, which may have led to the ability to executearbitrary code on the server. (CVE-2007-2446)

Unescaped user input parameters were being passed as arguments to /bin/sh.A remote, authenticated, user could have triggered this flaw and executedarbitrary code on the server. Additionally, on Red Hat Enterprise Linux 5only, this flaw could be triggered by a remote unauthenticated user ifSamba was configured to use the non-default "username map script" option. (CVE-2007-2447)

Users of Samba should upgrade to these packages, which contain backportedpatches to correct these issues. After upgrading, Samba should berestarted using "service smb restart"

On Red Hat Enterprise Linux 5 the impact of these issues is reduced asSamba is constrained by the default SELinux "targeted" policy.

Red Hat would like to thank the Samba developers, TippingPoint, andiDefense for reporting these issues.

4. Solution:

Before applying this update, make sure that all previously-releasederrata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to usethe Red Hat Network to apply this update are available athttp://kbase.redhat.com/faq/FAQ_58_10188