Improper Initialization Affecting openldap package, versions <2.4.46-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE315-OPENLDAP-1928544
  • published5 Sept 2017
  • disclosed5 Sept 2017

Introduced: 5 Sep 2017

CVE-2017-14159  (opens in a new tab)
CWE-665  (opens in a new tab)

How to fix?

Upgrade Alpine:3.15 openldap to version 2.4.46-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openldap package and not the openldap package as distributed by Alpine. See How to fix? for Alpine:3.15 relevant fixed versions and status.

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.

CVSS Scores

version 3.1