GHSA-g636-q5fc-4pr7 accounts: Hash account number using Salt
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
@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).
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| moov-io github.com/moov-io/customers(Go) | < 0.5.0 | 0.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moov-io github.com/moov-io/customers(Go) | < 0.5.0 | 0.5.0 |
References
- github.com vendor-advisory
- github.com