LowGHSA-qh54-9vc5-m9fgGO-2022-0378

MD5 hash support in github.com/foxcpp/maddy

Published 12 Oct 2021 · Updated 21 Aug 2024

Is your project on an affected github.com/foxcpp/maddy?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=0.5.0 <0.5.2
Fixed in
0.5.2
Update to the fixed version for your release line, for example:go get github.com/foxcpp/maddy@v0.5.2

Details

Impact

This vulnerability affects maddy 0.5.1, 0.5.0 users using auth.shadow module and an extremely outdated system that still allows MD5 hashes in /etc/shadows.

Patches

Patch is available as part of the 0.5.2 release.

Workarounds

Ensure MD5 hashes are not present in /etc/shadow.

Is GHSA-qh54-9vc5-m9fg in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/foxcpp/maddy, and gives you the command that fixes it.

More advisories for github.com/foxcpp/maddy

  • LowCVE-2026-40193Maddy Mail Server has an LDAP Filter Injection via Unsanitized Username in github.com/foxcpp/maddy · 25 Jun 2026
  • HighCVE-2026-40193Maddy Mail Server has an LDAP Filter Injection via Unsanitized Username · 13 Apr 2026
  • LowGO-2022-0374S3 storage write is not aborted on errors leading to unbounded memory usage in github.com/foxcpp/maddy · 21 Aug 2024
  • LowCVE-2021-42583Use of a Broken or Risky Cryptographic Algorithm in Max Mazurov Maddy in github.com/foxcpp/maddy · 21 Aug 2024
  • LowCVE-2023-27582Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy · 20 Aug 2024
  • CriticalCVE-2023-27582Full authentication bypass if SASL authorization username is specified · 14 Mar 2023
All 10 advisories for github.com/foxcpp/maddy

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.