Debian Security Advisory DSA 2628-1 (nss-pam-ldapd - buffer overflow)

Summary
Garth Mollett discovered that a file descriptor overflow issue in the use of FD_SET() in nss-pam-ldapd, which provides NSS and PAM modules for using LDAP as a naming service, can lead to a stack-based buffer overflow. An attacker could, under some circumstances, use this flaw to cause a process that has the NSS or PAM module loaded to crash or potentially execute arbitrary code.
Solution
For the stable distribution (squeeze) this problem has been fixed in version 0.7.15+squeeze4. For the testing distribution (wheezy), this problem has been fixed in version 0.8.10-3. For the unstable distribution (sid), this problem has been fixed in version 0.8.10-3. We recommend that you upgrade your nss-pam-ldapd packages.
Insight
nss-pam-ldap provides a Name Service Switch module that allows your LDAP server to provide user account, group, host name, alias, netgroup, and basically any other information that you would normally get from /etc flat files or NIS.
Affected
nss-pam-ldapd on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References