PT-2017-12056 · Nixos · Nixos
Grahamco
·
Published
2017-07-20
·
Updated
2019-05-10
·
CVE-2017-11501
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
NixOS versions 17.03 and earlier
Description
The issue concerns an unintended default absence of SSL Certificate Validation for LDAP in NixOS. Specifically, the users.ldap NixOS module, which implements user authentication against LDAP servers via a PAM module, unconditionally disables peer verification in /etc/ldap.conf when TLS is enabled to connect to the LDAP server with users.ldap.useTLS.
Recommendations
For NixOS versions 17.03 and earlier, ensure that SSL Certificate Validation for LDAP is properly configured to prevent unintended disabling of peer verification. As a temporary workaround, consider manually enabling peer verification in /etc/ldap.conf until a proper fix is applied.
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nixos