portage-ng / portage / sys-auth / nss_ldap / 265-r11
portage-ng glsa
2 advisories reference sys-auth/nss_ldap · none place version 265-r11 in a vulnerable range
▸ GLSA 200711-33 nss_ldap: Information disclosure this version unaffected low remote 2007-11-25

A race condition might lead to theft of user credentials or information disclosure in services using nss_ldap.

Announced
2007-11-25
Revised
2007-11-25
Access
remote
Bugs
#198390
Advisory
https://security.gentoo.org/glsa/200711-33

Affected packages

PackageArchVulnerableUnaffected
sys-auth/nss_ldap*< 258>= 258

Background

nss_ldap is a Name Service Switch module which allows 'passwd', 'group' and 'host' database information to be pulled from LDAP.

Description

Josh Burley reported that nss_ldap does not properly handle the LDAP connections due to a race condition that can be triggered by multi-threaded applications using nss_ldap, which might lead to requested data being returned to a wrong process.

Impact

Remote attackers could exploit this race condition by sending queries to a vulnerable server using nss_ldap, possibly leading to theft of user credentials or information disclosure (e.g. Dovecot returning wrong mailbox contents).

Workaround

There is no known workaround at this time.

Resolution

All nss_ldap users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-auth/nss_ldap-258"

References

▸ GLSA 200507-13 pam_ldap and nss_ldap: Plain text authentication leak this version unaffected normal remote 2005-07-14

pam_ldap and nss_ldap fail to restart TLS when following a referral, possibly leading to credentials being sent in plain text.

Announced
2005-07-14
Revised
2005-07-14
Access
remote
Bugs
#96767
Advisory
https://security.gentoo.org/glsa/200507-13

Affected packages

PackageArchVulnerableUnaffected
sys-auth/nss_ldap*< 239-r1>= 239-r1, >= 226-r1 (revision)
sys-auth/pam_ldap*< 178-r1>= 178-r1

Background

pam_ldap is a Pluggable Authentication Module which allows authentication against an LDAP directory. nss_ldap is a Name Service Switch module which allows 'passwd', 'group' and 'host' database information to be pulled from LDAP. TLS is Transport Layer Security, a protocol that allows encryption of network communications.

Description

Rob Holland of the Gentoo Security Audit Team discovered that pam_ldap and nss_ldap fail to use TLS for referred connections if they are referred to a master after connecting to a slave, regardless of the "ssl start_tls" ldap.conf setting.

Impact

An attacker could sniff passwords or other sensitive information as the communication is not encrypted.

Workaround

pam_ldap and nss_ldap can be set to force the use of SSL instead of TLS.

Resolution

All pam_ldap users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-auth/pam_ldap-178-r1"

All nss_ldap users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose sys-auth/nss_ldap

References