Received: (at submit) by bugs.debian.org; 3 Oct 2000 20:21:58 +0000 From fevrier@voyageurs.ddts.net Tue Oct 03 15:21:58 2000 Return-path: Received: from r114m68.cybercable.tm.fr (voyageurs.ddts.net) [::ffff:195.132.114.68] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 13gYZa-0004qj-00; Tue, 03 Oct 2000 15:21:58 -0500 Received: from fevrier by voyageurs.ddts.net with local (Exim 3.16 #1 (Debian)) id 13gYZV-0002pu-00; Tue, 03 Oct 2000 22:21:53 +0200 Date: Tue, 3 Oct 2000 22:21:53 +0200 From: Jean-Philippe Guerard To: Debian Bug Tracking System Subject: sshd segfault if the pam_issue module is used Message-ID: <20001003222153.A10816@voyageurs.ddts.net> Reply-To: jean-philippe.guerard@mail.dotcom.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-Reportbug-Version: 1.3 Delivered-To: submit@bugs.debian.org Package: ssh Version: 1:2.2.0p1-1 Severity: normal Using the following line in /etc/pam.d/ssh cause sshd to segfault on a successful connexion : auth required pam_issue.so issue=/etc/issue.net --------------------------------------------------------------------------- # sshd -d debug: sshd version OpenSSH_2.2.0p1 debug: Seeding random number generator debug: read DSA private key done debug: Seeding random number generator debug: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. debug: Seeding random number generator debug: Seeding random number generator RSA key generation complete. debug: Server will not fork when running in debugging mode. Connection from 127.0.0.1 port 1431 debug: Client protocol version 1.5; client software version OpenSSH_2.2.0p1 debug: Local version string SSH-1.99-OpenSSH_2.2.0p1 debug: Sent 768 bit public key and 1024 bit host key. debug: Encryption type: 3des debug: Received session key; encryption turned on. debug: Installing crc compensation attack detector. debug: Starting up PAM with username "myname" debug: Attempting authentication for myname. Segmentation fault --------------------------------------------------------------------------- --------------------------------------------------------------------------- $ ssh -v 127.0.0.1 SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Reading configuration data /etc/ssh/ssh_config debug: Seeding random number generator debug: ssh_connect: getuid 1011 geteuid 1011 anon 1 debug: Connecting to 127.0.0.1 [127.0.0.1] port 22. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_2.2.0p1 debug: Local version string SSH-1.5-OpenSSH_2.2.0p1 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Forcing accepting of host key for loopback/localhost. debug: Seeding random number generator debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: RSA authentication using agent refused. debug: Doing password authentication. myname@127.0.0.1's password: Connection closed by 127.0.0.1 debug: Calling cleanup 0x805cc9c(0x0) --------------------------------------------------------------------------- -- System Information Debian Release: woody Architecture: i386 Kernel: Linux voyageurs.ddts.net 2.2.17 #1 SMP mar sep 5 23:30:39 UTC 2000 i686 Versions of packages ssh depends on: ii libc6 2.1.94-3 GNU C Library: Shared libraries an ii libpam-modules 0.72-12 Pluggable Authentication Modules f ii libpam0g 0.72-12 Pluggable Authentication Modules l ii libssl095a 0.9.5a-4 SSL shared libraries ii libwrap0 7.6-5 Wietse Venema's TCP wrappers libra ii zlib1g 1:1.1.3-11 compression library - runtime -- Jean-Philippe Guérard