CVE-2007-0476

CVE-2007-0476 is a medium-severity vulnerability in Gentoo Linux with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is 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 Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.
How severe is CVE-2007-0476?
CVE-2007-0476 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2007-0476 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-0476?
CVE-2007-0476 primarily affects Gentoo Linux. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-0476?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-0476 published?
CVE-2007-0476 was published on 2007-01-25 and last updated on 2026-06-16.

References

Affected products (3)

More vulnerabilities in Gentoo Linux

All CVEs affecting Gentoo Linux →