NixOS 17.03 and earlier has an unintended default absence of SSL Certificate Validation for LDAP. The users.ldap NixOS module implements user authentication against LDAP servers via a PAM module. It was found that if TLS is enabled to connect to the LDAP server with users.ldap.useTLS, peer verification will be unconditionally disabled in /etc/ldap.conf.
References
Link | Resource |
---|---|
https://github.com/NixOS/nixpkgs/issues/27506 | Issue Tracking Third Party Advisory |
http://openwall.com/lists/oss-security/2017/07/20/1 | Mailing List Mitigation Patch Third Party Advisory |
https://groups.google.com/forum/#!topic/nix-security-announce/qrDU0KH_ZRk | Mitigation Third Party Advisory |
Configurations
Information
Published : 2017-07-20 16:29
Updated : 2019-05-10 12:41
NVD link : CVE-2017-11501
Mitre link : CVE-2017-11501
JSON object : View
CWE
CWE-295
Improper Certificate Validation
Products Affected
nixos_project
- nixos