diff --git a/freeradius-server-2.1.0.tar.bz2 b/freeradius-server-2.1.0.tar.bz2 deleted file mode 100644 index 49a1330..0000000 --- a/freeradius-server-2.1.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03e950b1de76a0753ef6b387bcdf1d618552e32ea78abbf97b6158c64df54928 -size 2333292 diff --git a/freeradius-server-2.1.1-CVE-2008-4474.patch b/freeradius-server-2.1.1-CVE-2008-4474.patch new file mode 100644 index 0000000..8fe05e8 --- /dev/null +++ b/freeradius-server-2.1.1-CVE-2008-4474.patch @@ -0,0 +1,123 @@ +--- dialup_admin/bin/clean_radacct ++++ dialup_admin/bin/clean_radacct +@@ -5,6 +5,7 @@ + # Works with mysql and postgresql + # + use POSIX; ++use File::Temp; + + $conf=shift||'/usr/share/dialup_admin/conf/admin.conf'; + $back_days = 35; +@@ -42,11 +43,10 @@ + + $query = "DELETE FROM $sql_accounting_table WHERE AcctStopTime IS NULL AND AcctStartTime < '$date';"; + print "$query\n"; +-open TMP, ">/tmp/clean_radacct.query" +- or die "Could not open tmp file\n"; +-print TMP $query; +-close TMP; +-$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database /tmp/tot_stats.query" +- or die "Could not open tmp file\n"; +-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle'); +-print TMP $query1; +-print TMP $query2; +-close TMP; +-$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database /tmp/tot_stats.query" +- or die "Could not open tmp file\n"; +-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle'); +-print TMP $query1; +-print TMP $query2; +-close TMP; +-$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database /tmp/truncate_radacct.query" +- or die "Could not open tmp file\n"; +-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle'); +-print TMP $query; +-close TMP; +-$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database devel ------------------------------------------------------------------- Fri Aug 3 07:53:54 CEST 2001 - stark@suse.de -- removed use of watcher-script +- removed use of watcher-script - removed config-check (-C) in init script (it's not supported in freeradius) @@ -787,12 +815,12 @@ Fri Aug 3 07:53:54 CEST 2001 - stark@suse.de Thu Aug 2 12:22:00 CEST 2001 - stark@suse.de - status fix in init script -- renamed pam-configfile: radius -> radiusd +- renamed pam-configfile: radius -> radiusd ------------------------------------------------------------------- Wed Aug 1 09:57:53 CEST 2001 - stark@suse.de -- updated to 0.2 +- updated to 0.2 ------------------------------------------------------------------- Thu Jul 26 10:06:01 CEST 2001 - kukuk@suse.de @@ -812,7 +840,7 @@ Sat Jun 23 20:52:07 CEST 2001 - schwab@suse.de ------------------------------------------------------------------- Mon Jun 18 07:58:08 CEST 2001 - stark@suse.de -- removed absolute paths from pam-config +- removed absolute paths from pam-config ------------------------------------------------------------------- Wed May 23 13:32:20 CEST 2001 - stark@suse.de @@ -822,7 +850,7 @@ Wed May 23 13:32:20 CEST 2001 - stark@suse.de ------------------------------------------------------------------- Wed Mar 21 13:11:34 CET 2001 - stark@suse.de -- new snapshot 20010321 (pre-BETA) +- new snapshot 20010321 (pre-BETA) - replaced start- and killproc to avoid problems with Kernel 2.4 using the radwatch shell-script - added built of LDAP and MySQL modules @@ -830,7 +858,7 @@ Wed Mar 21 13:11:34 CET 2001 - stark@suse.de ------------------------------------------------------------------- Mon Jan 29 09:58:23 CET 2001 - stark@suse.de -- %files: /etc/raddb/bay.vendor -> /etc/raddb/dictionary.bay +- %files: /etc/raddb/bay.vendor -> /etc/raddb/dictionary.bay ------------------------------------------------------------------- Mon Jan 15 10:52:42 CET 2001 - stark@suse.de @@ -841,5 +869,5 @@ Mon Jan 15 10:52:42 CET 2001 - stark@suse.de ------------------------------------------------------------------- Thu Jan 4 13:32:26 CET 2001 - stark@suse.de -- CVS snapshot 20010104 +- CVS snapshot 20010104 diff --git a/freeradius-server.spec b/freeradius-server.spec index e56daa6..1525131 100644 --- a/freeradius-server.spec +++ b/freeradius-server.spec @@ -1,5 +1,5 @@ # -# spec file for package freeradius-server (Version 2.1.0) +# spec file for package freeradius-server (Version 2.1.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -18,8 +18,8 @@ Name: freeradius-server -Version: 2.1.0 -Release: 4 +Version: 2.1.1 +Release: 1 License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Provides: radiusd @@ -33,6 +33,7 @@ Patch0: %{name}-%{version}-ltdl.patch Patch1: %{name}-%{version}-dialup_admin.patch Patch2: %{name}-%{version}-rcradiusd.patch Patch3: %{name}-%{version}-codecleanup.patch +Patch4: %{name}-%{version}-CVE-2008-4474.patch PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd PreReq: perl PreReq: %insserv_prereq %fillup_prereq @@ -209,6 +210,7 @@ Authors: %patch1 %patch2 %patch3 +%patch4 %build #export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fstack-protector" @@ -433,6 +435,28 @@ rm -rf $RPM_BUILD_ROOT %attr(644,root,root) %{_includedir}/freeradius/*.h %changelog +* Thu Oct 09 2008 prusnak@suse.cz +- fixed CVE-2008-4474 [bnc#433762] +* Thu Oct 09 2008 prusnak@suse.cz +- updated to 2.1.1 + o Feature Improvements + * Many more options and features are available via radmin. + See man radmin and raddb/sites-available/control-socket. + * Many more commands available via the control socket. + Connect via radmin, and type help for more information. + * Added dictionary.networkphysics and dictionary.lancom. + * Calculate WiMAX MIP keys, and added sample WiMAX SQL tables. + o Bug Fixes + * Fixed bug that made radmin not work. + * Fixed Suse && Debian package scripts. + * Fixed issues with dynamic clients. + * Fixed configure checks for -lreadline + * rlm_sqlippool no longer needs to be linked to rlm_sql. + * Add statistics for detail file listeners. This closes bug #593. + * Fixed printing of some WiMAX attributes. + * Fixed double free on exit() in rlm_attr_filter. + * Fixed build issues on Solaris. + * Fixed fast session resumption for EAP-TLS. * Mon Sep 15 2008 ro@suse.de - make radrelay a hardlink to radiusday (instead of identical copy) * Tue Sep 09 2008 prusnak@suse.cz