GHSA-G636-Q5FC-4PR7
Vulnerability from github – Published: 2021-05-24 17:00 – Updated: 2021-05-21 22:11
VLAI?
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).
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/moov-io/customers"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.5.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2021-05-21T22:11:53Z",
"nvd_published_at": null,
"severity": "LOW"
},
"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.\n\n**What did you expect to see?**\nI 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)\n\nI would generate salt per tenant at least (maybe per organization).",
"id": "GHSA-g636-q5fc-4pr7",
"modified": "2021-05-21T22:11:53Z",
"published": "2021-05-24T17:00:27Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/moov-io/customers/security/advisories/GHSA-g636-q5fc-4pr7"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "accounts: Hash account number using Salt"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…