Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-0.8.git;a=commitdiff;h=90528ceecce4a5929e3af1d2724b336aea9e0ff3

commit 90528ceecce4a5929e3af1d2724b336aea9e0ff3
Author: voroskoi <[EMAIL PROTECTED]>
Date:   Wed Apr 23 21:54:25 2008 +0200

openssh-4.7p1-4kalgan2-x86_64
secfix relbump, closes #2961

diff --git a/source/network/openssh/CVE-2008-1657.diff 
b/source/network/openssh/CVE-2008-1657.diff
new file mode 100644
index 0000000..99fe7c5
--- /dev/null
+++ b/source/network/openssh/CVE-2008-1657.diff
@@ -0,0 +1,14 @@
+--- session.c  2007/09/08 04:52:47     1.1.1.6
++++ session.c  2008/04/19 15:02:52     1.1.1.6.2.1
+@@ -1201,8 +1201,9 @@ do_rc_files(Session *s, const char *shel
+       do_xauth =
+           s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL;
+
+-      /* ignore _PATH_SSH_USER_RC for subsystems */
+-      if (!s->is_subsystem && (stat(_PATH_SSH_USER_RC, &st) >= 0)) {
++      /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */
++      if (!s->is_subsystem && options.adm_forced_command == NULL &&
++          (stat(_PATH_SSH_USER_RC, &st) >= 0)) {
+               snprintf(cmd, sizeof cmd, "%s -c '%s %s'",
+                   shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
+               if (debug_flag)
diff --git a/source/network/openssh/FrugalBuild 
b/source/network/openssh/FrugalBuild
index d7e0949..3bf9bb8 100644
--- a/source/network/openssh/FrugalBuild
+++ b/source/network/openssh/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=openssh
pkgver=4.7p1
-pkgrel=4kalgan1
+pkgrel=4kalgan2
pkgdesc='Secure Shell daemon and clients'
url="http://www.openssh.com/";
backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/sysconfig/tunnel')
@@ -17,8 +17,8 @@ 
source=(ftp://ftp.fsn.hu/pub/openbsd/OpenSSH/portable/$pkgname-$pkgver.tar.gz \
README.Frugalware \
rc.sshd rc.sshd-{hu,de}.po \
rc.tunnel tunnel \
-       openssh-3.9p1-skip-used.patch)
-signatures=("$source.asc" '' '' '' '' '' '' '')
+       openssh-3.9p1-skip-used.patch CVE-2008-1657.diff)
+signatures=("$source.asc" '' '' '' '' '' '' '' '')

build()
{
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to