Package: libxcrypt1
Version: 1:2.4-1
Severity: normal

I think the crypt_blowfish implementation in libxcrypt 2.4-1 has the sign
extension bug detailed in CVE-2011-2483.

Full details of this bug are at: http://seclists.org/oss-sec/2011/q2/632

crypt_blowfish.c in the libxcrypt source package contains the following
code, which indicates that it's affected by this bug:

for (j = 0; j < 4; j++) {
   tmp <<= 8;
   tmp |= *ptr;

   if (!*ptr) ptr = key; else ptr++;
}

The problem is in the statement "tmp |= *ptr", where ptr is a plain
char. This should be cast to an unsigned char, e.g.

tmp |= (unsigned char)*ptr

Upgrading to the latest upstream source should fix this bug.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxcrypt1 depends on:
ii  libc6  2.13-33

libxcrypt1 recommends no packages.

libxcrypt1 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to