GHSA-9r3m-mhfm-39cm Incorrect Calculation in bigint-money
Not scored
Published
Check this codebase for GHSA-9r3m-mhfm-39cm and fix it if it is affected.
What it is: GHSA-9r3m-mhfm-39cm is a vulnerability in bigint-money, published on 11 Sep 2020.
Exploitation: There is no known exploitation of GHSA-9r3m-mhfm-39cm in the wild and no public exploit code.
Affected packages and fixed versions:
- bigint-money (npm): affected all versions; fixed in 0.6.2
- bigint-money (npm): affected all versions; fixed in 0.6.2
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-9r3m-mhfm-39cm/ (Markdown: https://insights.sbomify.com/GHSA-9r3m-mhfm-39cm/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is GHSA-9r3m-mhfm-39cm?
GHSA-9r3m-mhfm-39cm is a vulnerability in bigint-money, published on 11 Sep 2020.
Official 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.
Recommendation
Upgrade to version 0.6.2 or later.
Which versions are affected by GHSA-9r3m-mhfm-39cm?
2 open source packages ship an affected version, including bigint-money.
| Package | Affected | Fixed in |
|---|---|---|
bigint-money npm | All versions | 0.6.2 |
bigint-money npm | All versions | 0.6.2 |
How do I fix GHSA-9r3m-mhfm-39cm?
Upgrade bigint-money to 0.6.2 or later.
Is GHSA-9r3m-mhfm-39cm being exploited?
There is no known exploitation of GHSA-9r3m-mhfm-39cm in the wild and no public exploit code.