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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openldap | No fix yet | — |
| Debian 13 | openldap | No fix yet | — |
| Debian 12 | openldap | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openldap | 2.4.46-r0 | — |
| Alpine v3.23 | openldap | 2.4.46-r0 | — |
| Alpine v3.22 | openldap | 2.4.46-r0 | — |
| Alpine v3.21 | openldap | 2.4.46-r0 | — |
| Alpine v3.20 | openldap | 2.4.46-r0 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openldap | 2.4.46-r0 | — |
| Alpine v3.18 | openldap | 2.4.46-r0 | — |
| Alpine v3.17 | openldap | 2.4.46-r0 | — |
| Alpine v3.16 | openldap | 2.4.46-r0 | — |
| Alpine v3.15 | openldap | 2.4.46-r0 | — |
| Alpine v3.14 | openldap | 2.4.46-r0 | — |
| Alpine v3.13 | openldap | 2.4.46-r0 | — |
| Alpine v3.12 | openldap | 2.4.46-r0 | — |
| Alpine v3.11 | openldap | 2.4.46-r0 | — |
| Alpine v3.10 | openldap | 2.4.46-r0 | — |
| Alpine v3.9 | openldap | 2.4.46-r0 | — |
| Alpine v3.8 | openldap | 2.4.46-r0 | — |
| Alpine v3.7 | openldap | 2.4.46-r0 | — |
Advisories 1
- WID-SEC-2024-3165 OpenLDAP: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 14, 2024