@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).
{
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2021-05-21T22:11:53Z",
"nvd_published_at": null,
"severity": "LOW"
}