Description
slapd in OpenLDAP 2.4.45 and earlier creates a PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for PID file modification before a root script executes a "kill `cat /pathname`" command, as demonstrated by openldap-initscript.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuapr2022.html
Issue Tracking, Mailing List, Vendor Advisory x_refsource_misc
http://www.openldap.org/its/index.cgi?findid=8703
Scores
CVSS v3
4.7
EPSS
0.0035
EPSS Percentile
26.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-665
Status
published
Products (2)
openldap/openldap
< 2.4.45
oracle/blockchain_platform
< 21.1.2
Published
Sep 05, 2017
Tracked Since
Feb 18, 2026