Advisory

GHSA-g636-q5fc-4pr7

Also known as: None

Summary

accounts: Hash account number using Salt

Details

@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).

Severity

Low Basis: The source's own band: LOW

Dates

Published
2021-05-24 17:00 UTC
Modified
2021-05-21 22:11 UTC

Affected packages and fixes

github.com/moov-io/customers

Go · All systems

Affected

  • introduced 0, fixed 0.5.0 (semver)

Fixed versions

0.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences