UnratedGoPublished
accounts: Hash account number using Salt
GHSA-g636-q5fc-4pr7
- Affected
- Go github.com/moov-io/customers < 0.5.0
- Fixed in
- 0.5.0· Vendor fix available
- Issue
- @alovak found that currently when we build hash of account number we do not "salt" it. Which makes it vulnerable to rainbow table attack. What did you expect to see? I expected salt (some random number from configuration) to be used in hash.AccountNumber I would generate salt per tenant at least (maybe per organization).
Recommended action: Upgrade to 0.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.