OpenLDAP and Gauche suffer from RUNPATH issues that may allow users in the "portage" group to escalate privileges.
|Package||net-nds/openldap on all architectures|
|Affected versions||< 2.2.28-r3|
|Unaffected versions||>= 2.2.28-r3
revision >= 2.1.30-r6
|Package||dev-scheme/gauche on all architectures|
|Affected versions||< 0.8.6-r1|
|Unaffected versions||>= 0.8.6-r1|
OpenLDAP is a suite of LDAP-related application and development tools. Gauche is an R5RS Scheme interpreter.
Gentoo packaging for OpenLDAP and Gauche may introduce insecure paths into the list of directories that are searched for libraries at runtime.
A local attacker, who is a member of the "portage" group, could create a malicious shared object in the Portage temporary build directory that would be loaded at runtime by a dependent binary, potentially resulting in privilege escalation.
Only grant "portage" group rights to trusted users.
All OpenLDAP users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose net-nds/openldap
All Gauche users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=dev-scheme/gauche-0.8.6-r1"