accounts: Hash account number using Salt
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
@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](https://github.com/moov-io/customers/blob/master/pkg/secrets/hash/account_number.go#L13) I would generate salt per tenant at least (maybe per organization).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/moov-io/customers (Go) | before 0.5.0 | 0.5.0 | Patch available | GHSA-g636-q5fc-4pr7 |
- github.com/moov-io/customers (Go) Vendor— Affected before 0.5.0 Fixed in 0.5.0 Patch available GHSA-g636-q5fc-4pr7
Remediation
- Fix · GHSA-g636-q5fc-4pr7 github.com/moov-io/customers (Go) Fixed in 0.5.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-g636-q5fc-4pr7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences