GHSA-g636-q5fc-4pr7
JSON

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 packageVersionsReported by
github.com/moov-io/customers (Go)before 0.5.0GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-g636-q5fc-4pr7 changed 2021-05-21CC-BY-4.0