Bug 167677 - CVE-2005-4744 Multiple freeradius security issues
Summary: CVE-2005-4744 Multiple freeradius security issues
Alias: None
Product: Fedora
Classification: Fedora
Component: freeradius
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
Whiteboard: impact=low,reported=20050501,source=v...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2005-09-06 21:34 UTC by Josh Bressers
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-07-23 13:55:44 UTC

Attachments (Terms of Use)

Description Josh Bressers 2005-09-06 21:34:11 UTC
+++ This bug was initially created as a clone of Bug #167676 +++

A number of issues have been found in freeradius:

* moderate
Off by one error (\0 being written to end of string, probably not even a crash)

* low
Use per-system max fd to close, rather than hard-coded number

* low
If strftime(3) returns 0, the contents of the string array is undefined,
therefore it should not be copied.  This could lead to the leaking of 40 bytes
off the stack (random unitialized memory).

* moderate/low
Adds boundly length checks, whithout which it could be possible to overflow a
var on the stack.
* As best as I can tell, this is coming from the server, not a malicious source.

* moderate
Adds a boundry length check.  Possible stack buffer overflow. This sould be a
crash only.

* moderate
Properly escape ldap data.  This could possible leak ldap data via a malformed
query, without proper acls.

* low/bug
Make things a bit more thread safe by introducing a horrible horrible hack.

Comment 1 Josh Bressers 2005-09-06 21:34:55 UTC
These issues should also affect FC3

Comment 2 Josh Bressers 2005-09-07 12:54:13 UTC
These issues should be considered public

Comment 4 Josh Bressers 2005-09-12 12:18:10 UTC
After reading upstream's response to these issues, I'm marking the severity as
low.  Given I'm not an expert with the FreeRADIUS source, I purposely marked
some of these issues as "moderate" severity to prevent us from not giving enough
attention to something that may have needed it.


Comment 5 Christian Iseli 2007-01-22 10:42:25 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?


Comment 6 Thomas Woerner 2007-07-23 13:55:44 UTC
FC-3 and FC-4 are EOL'd now. Closing as WONTFIX.

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