CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2007-0476

First published: Thu Jan 25 2007(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Gentoo Linux=2.1.30-r9
Gentoo Linux=2.3.30-r2
Gentoo Linux=2.2.28-r7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-0476?

    CVE-2007-0476 is considered to have a medium severity due to the potential for local file overwrites via symlink attacks.

  • How do I fix CVE-2007-0476?

    To fix CVE-2007-0476, upgrade OpenLDAP to a version later than 2.1.30-r10, 2.2.28-r7, or 2.3.30-r2.

  • What versions are affected by CVE-2007-0476?

    CVE-2007-0476 affects OpenLDAP versions prior to 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2.

  • Can CVE-2007-0476 be exploited remotely?

    CVE-2007-0476 cannot be exploited remotely as it requires local access to the system.

  • What is a symlink attack in relation to CVE-2007-0476?

    A symlink attack in the context of CVE-2007-0476 allows local users to create symbolic links in temporary directories that can overwriting sensitive files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203