{"id":"GHSA-9r3m-mhfm-39cm","aliases":[],"status":"published","title":"Incorrect Calculation in bigint-money","description":"Versions of `bigint-money` prior to 0.6.2 are vulnerable to an Incorrect Calculation. The package incorrectly rounded certain numbers, which could have drastic consequences due to its usage in financial systems.\n\n\n## Recommendation\n\nUpgrade to version 0.6.2 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-682"],"published":"2020-09-11T21:10:29Z","modified":"2023-01-09T05:03:49Z","fixes":[{"ecosystem":"npm","package":"bigint-money","fixed_in":["0.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"bigint-money","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]},{"source":"osv","ecosystem":"npm","package":"bigint-money","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/962","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9r3m-mhfm-39cm"}],"sources":{"ghsa":[{"id":"GHSA-9r3m-mhfm-39cm","title":"Incorrect Calculation in bigint-money","description":"Versions of `bigint-money` prior to 0.6.2 are vulnerable to an Incorrect Calculation. The package incorrectly rounded certain numbers, which could have drastic consequences due to its usage in financial systems.\n\n\n## Recommendation\n\nUpgrade to version 0.6.2 or later.","status":"published","published":"2020-09-11T21:10:29Z","modified":"2023-01-09T05:03:49Z","cwes":["CWE-682"],"updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-9r3m-mhfm-39cm","title":"Incorrect Calculation in bigint-money","description":"Versions of `bigint-money` prior to 0.6.2 are vulnerable to an Incorrect Calculation. The package incorrectly rounded certain numbers, which could have drastic consequences due to its usage in financial systems.\n\n\n## Recommendation\n\nUpgrade to version 0.6.2 or later.","status":"published","published":"2020-09-11T21:10:29Z","modified":"2020-08-31T18:42:08Z","cwes":["CWE-682"],"updated_at":"2026-11-02T15:46:44.225359Z"}]}}
