Read the docs
TI-2021-22663 Aliases GHSA-g636-q5fc-4pr7

accounts: Hash account number using Salt

Priority LOW 38Published · Updated

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

Fix Fixed github.com/moov-io/customers (Go): 0.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/moov-io/customers (Go)before 0.5.00.5.0Patch availableGHSA-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

  1. 2026-10-03 Threatist record created from GHSA-g636-q5fc-4pr7

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences