Bug 170045

Summary: Buffer overflow in xsupplicant
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: xsupplicantAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: extras-qa, hdegoede
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.2-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-03 15:25:43 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:
Attachments:
Description Flags
The promised patch
none
The same patch, updated for 1.2.2 none

Description Miloslav Trmač 2005-10-06 20:09:48 UTC
(This seems to be something different from #167467.)

cardif_getframe () passes a too small buffer to recvfrom (). The attached
patch fixes this.

Version-Release number of selected component (if applicable):
xsupplicant-1.2.1-5.fc4

Additional info:
Please send it upstream too.

Comment 1 Miloslav Trmač 2005-10-06 20:09:49 UTC
Created attachment 119684 [details]
The promised patch

Comment 2 Miloslav Trmač 2005-12-18 17:57:31 UTC
Created attachment 122386 [details]
The same patch, updated for 1.2.2

Comment 3 Hans de Goede 2006-01-02 21:43:23 UTC
This seemes to be fixed in upstream CVS by just setting resultsize to 1520
instead of making the buffer larger.

Tom, I've got CVS access myself, shall I make a patch with upstreams fix,
include this in the spec, bump the release and push through a build?


Comment 4 Tom "spot" Callaway 2006-01-02 21:45:47 UTC
Sure, go ahead.

Comment 5 Hans de Goede 2006-01-03 15:25:43 UTC
This has been fixed in cvs and successfully build for FC-3, FC-4 and devel. The
fixed version should show up in the repos soon.