github.com/foxcpp/maddy
Affected
- introduced
0, fixed0.5.4(semver)
Fixed versions
0.5.4
Fix
- Fixed version
0.5.4go get github.com/foxcpp/[email protected]
Advisory
Also known as: CVE-2022-24732
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
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 0.5.4 (semver)0.5.4
0.5.4go get github.com/foxcpp/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0