Incorrect Permission Assignment for Critical Resource Affecting openldap package, versions *


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (6th 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-CENTOS6-OPENLDAP-1965542
  • published26 Jul 2021
  • disclosed13 Jun 2016

Introduced: 13 Jun 2016

CVE-2016-4984  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 openldap.

NVD Description

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

/usr/libexec/openldap/generate-server-cert.sh in openldap-servers sets weak permissions for the TLS certificate, which allows local users to obtain the TLS certificate by leveraging a race condition between the creation of the certificate, and the chmod to protect it.