Any configuration on any maddy version <0.5.4 using auth.pam is affected.
No password expiry or account expiry checking is done when authenticating using PAM.
Patch is available as part of the 0.5.4 release.
If /etc/shadow authentication is used, it is possible to replace auth.pam with auth.shadow which is not affected.
It is possible to blacklist expired accounts via existing filtering mechanisms (e.g. auth_map to invalid accounts in storage.imapsql).
If you have any questions or comments about this advisory: * Open an issue in https://github.com/foxcpp/maddy * Email fox.cpp@disroot.org
{ "nvd_published_at": "2022-03-09T20:15:00Z", "github_reviewed_at": "2022-03-07T16:59:31Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-324", "CWE-613" ] }