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.
The product does not validate, or incorrectly validates, a certificate.
Link | Tags |
---|---|
http://openwall.com/lists/oss-security/2017/07/20/1 | mailing list patch mitigation third party advisory |
https://groups.google.com/forum/#%21topic/nix-security-announce/qrDU0KH_ZRk | |
https://github.com/NixOS/nixpkgs/issues/27506 | issue tracking third party advisory |