{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "nss_ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:253-12.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2007-5794.html"}], "descriptions": [{"lang": "en", "value": "Race condition in nss_ldap, when used in applications that are linked against the pthread library and fork after a call to nss_ldap, might send user data to the wrong process because of improper handling of the LDAP connection. NOTE: this issue was originally reported for Dovecot with the wrong mailboxes being returned, but other applications might also be affected."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2008-05-30T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "nss_ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:253-12.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2008:0389"}, {"url": "https://access.redhat.com/security/cve/CVE-2007-5794"}], "descriptions": [{"lang": "en", "value": "The nss_ldap package contains the nss_ldap and pam_ldap modules. The\nnss_ldap module is a plug-in which allows applications to retrieve\ninformation about users and groups from a directory server. The pam_ldap\nmodule allows PAM-aware applications to use a directory server to verify\nuser passwords.\n\nA race condition was discovered in nss_ldap which affected certain\napplications which make LDAP connections, such as Dovecot. This could cause\nnss_ldap to answer a request for information about one user with\ninformation about a different user. (CVE-2007-5794)\n\nIn addition, these updated packages fix the following bugs:\n\n* a build error prevented the nss_ldap module from being able to use DNS to\ndiscover the location of a directory server. For example, when the\n/etc/nsswitch.conf configuration file was configured to use \"ldap\", but no\n\"host\" or \"uri\" option was configured in the /etc/ldap.conf configuration\nfile, no directory server was contacted, and no results were returned.\n\n* the \"port\" option in the /etc/ldap.conf configuration file on client\nmachines was ignored. For example, if a directory server which you were\nattempting to use was listening on a non-default port (i.e. not ports 389\nor 636), it was only possible to use that directory server by including the\nport number in the \"uri\" option. In this updated package, the \"port\" option\nworks as expected.\n\n* pam_ldap failed to change an expired password if it had to follow a\nreferral to do so, which could occur, for example, when using a slave\ndirectory server in a replicated environment. An error such as the\nfollowing occurred after entering a new password: \"LDAP password\ninformation update failed: Can't contact LDAP server Insufficient 'write'\nprivilege to the 'userPassword' attribute\"\n\nThis has been resolved in this updated package.\n\n* when the \"pam_password exop_send_old\" password-change method was\nconfigured in the /etc/ldap.conf configuration file, a logic error in the\npam_ldap module caused client machines to attempt to change a user's\npassword twice. First, the pam_ldap module attempted to change the password\nusing the \"exop\" request, and then again using an LDAP modify request.\n\n* on Red Hat Enterprise Linux 5.1, rebuilding nss_ldap-253-5.el5 when the\nkrb5-*-1.6.1-17.el5 packages were installed failed due to an error such as\nthe following:\n\n\t+ /builddir/build/SOURCES/dlopen.sh ./nss_ldap-253/nss_ldap.so\n\tdlopen() of \"././nss_ldap-253/nss_ldap.so\" failed:\n\t./././nss_ldap-253/nss_ldap.so: undefined symbol: request_key\n\terror: Bad exit status from /var/tmp/rpm-tmp.62652 (%build)\n\nThe missing libraries have been added, which resolves this issue.\n\nWhen recursively enumerating the set of members in a given group, the\nmodule would allocate insufficient space for storing the set of member\nnames if the group itself contained other groups, thus corrupting the heap.\nThis update includes a backported fix for this bug.\n\nUsers of nss_ldap should upgrade to these updated packages, which contain\nbackported patches to correct this issue and fix these bugs."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2005-04-09T00:00:00Z", "x_subShortName": "redhat_5"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2007-5794"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "debian"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:nss_ldap:nss_ldap:*:*:*:*:*:*:*:*"], "vendor": "nss_ldap", "product": "nss_ldap", "defaultStatus": "affected"}], "references": [{"url": "http://www.securityfocus.com/bid/26452", "tags": ["patch"]}, {"url": "http://secunia.com/advisories/27670", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/27768", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/27839", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/28061", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/28838", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/29083", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/30352", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/31227", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/31524", "tags": ["vendor-advisory"]}, {"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453868"}, {"url": "http://bugs.gentoo.org/show_bug.cgi?id=198390"}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html"}, {"url": "http://security.gentoo.org/glsa/glsa-200711-33.xml"}, {"url": "http://support.avaya.com/elmodocs2/security/ASA-2008-332.htm"}, {"url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0255"}, {"url": "http://www.debian.org/security/2007/dsa-1430"}, {"url": "http://www.dovecot.org/list/dovecot/2005-April/006859.html"}, {"url": "http://www.dovecot.org/list/dovecot/2005-March/006345.html"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:049"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0389.html"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0715.html"}, {"url": "http://www.securityfocus.com/archive/1/487985/100/0/threaded"}, {"url": "http://www.securitytracker.com/id?1020088"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=154314"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=367461"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38505"}, {"url": "https://issues.rpath.com/browse/RPL-1913"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10625"}], "descriptions": [{"lang": "en", "value": "Race condition in nss_ldap, when used in applications that are linked against the pthread library and fork after a call to nss_ldap, might send user data to the wrong process because of improper handling of the LDAP connection. NOTE: this issue was originally reported for Dovecot with the wrong mailboxes being returned, but other applications might also be affected."}, {"lang": "es", "value": "Una condición de carrera en nss_ldap, cuando es usado en aplicaciones que están enlazadas contra la biblioteca y bifurcación de pthread después de una llamada a nss_ldap, puede enviar datos de usuario al proceso incorrecto debido al manejo inapropiado de la conexión LDAP. NOTA: este problema fue reportado originalmente por Dovecot con los buzones equivocados siendo devueltos, pero otras aplicaciones también podrían estar afectadas."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-362", "description": "CWE-362"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2007-11-13T23:46:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2007-5794", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2007-11-13T23:46:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}