Bug 358831 (CVE-2007-5398)

Summary: CVE-2007-5398 Samba "reply_netbios_packet()" Buffer Overflow Vulnerability
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: unspecifiedCC: kreilly, mkoci, pmuller, security-response-team, ssorce
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-14 14:55:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 359091, 359101, 359111, 359121, 359131, 359141, 359151, 359161    
Bug Blocks:    
Attachments:
Description Flags
Proposed patch none

Description Josh Bressers 2007-10-30 18:38:27 UTC
Secunia reported a buffer overflow flaw in Samba's reply_netbios_packet() function.

According to Secunia:
    This can be exploited to cause a stack-based buffer
    overflow by sending multiple specially crafted WINS "Name Registration"
    requests followed by a WINS "Name Query" request.

Acknowledgements:

Red Hat would like to thank Alin Rad Pop of Secunia Research for responsibly disclosing this issue.

Comment 3 Josh Bressers 2007-10-30 18:47:10 UTC
Created attachment 243791 [details]
Proposed patch

Comment 7 Mark J. Cox 2007-11-15 14:34:33 UTC
Now public at 
http://us1.samba.org/samba/security/CVE-2007-5398.html
removing embargo

Comment 8 Red Hat Product Security 2008-01-14 14:55:09 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2007-1034.html
  http://rhn.redhat.com/errata/RHSA-2007-1013.html
  http://rhn.redhat.com/errata/RHSA-2007-1016.html
  http://rhn.redhat.com/errata/RHSA-2007-1017.html

Fedora:
  updated to fixed upstream version