CVE-2022-24732 – github.com/foxcpp/maddy
Package
Manager: go
Name: github.com/foxcpp/maddy
Vulnerable Version: >=0 <0.5.4
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00133 pctl0.33664
Details
Use of a Key Past its Expiration Date and Insufficient Session Expiration in Maddy Mail Server ### Impact 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. ### Patches Patch is available as part of the 0.5.4 release. ### Workarounds 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). ### References * https://github.com/foxcpp/maddy/blob/3412e59a2c92106e194fa69f2f1017c020037c9c/internal/auth/pam/pam.c * https://linux.die.net/man/3/pam_acct_mgmt ### For more information If you have any questions or comments about this advisory: * Open an issue in https://github.com/foxcpp/maddy * Email fox.cpp@disroot.org
Metadata
Created: 2022-03-07T16:59:31Z
Modified: 2022-03-18T20:12:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-6cp7-g972-w9m9/GHSA-6cp7-g972-w9m9.json
CWE IDs: ["CWE-324", "CWE-613"]
Alternative ID: GHSA-6cp7-g972-w9m9
Finding: F076
Auto approve: 1