GHSA-g636-q5fc-4pr7
low
accounts: Hash account number using Salt
- Severity
- low rating by GitHub
- Published
- Last changed
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/moov-io/customers (Go) | before 0.5.0 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-g636-q5fc-4pr7 changed 2021-05-21 | CC-BY-4.0 |