# GHSA-7cgc-fjv4-52x6: Malware in pre-build binaries of bignum

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-05-24T16:43:58.000Z
- Modified: 2023-05-24T16:43:58.000Z
- Weaknesses: CWE-506

## Description

### Impact

bignum releases from v0.12.2 to v0.13.0 (inclusive) used node-pre-gyp to optionally download pre-built binary versions of the addon. These binaries were published on a now-expired S3 bucket which has since been claimed by a malicious third party which is now serving binaries containing malware that exfiltrates data from the user's computer.

### Patches

v0.13.1 does not use node-pre-gyp and does not have support for downloading pre-built binaries in any form, avoiding the risk of malicious downloads.

(As written by GitHub Advisory Database.)

## Affected

- bignum (npm): from 0.12.2 before 0.13.1

## References

- <https://github.com/justmoon/node-bignum/security/advisories/GHSA-7cgc-fjv4-52x6> (web)
- <https://github.com/justmoon/node-bignum/commit/57e48c3f052249725517415d83c7147e4a8c44c8> (web)
- <https://github.com/justmoon/node-bignum/commit/72951c53e7c5c1ac157f04686dc12c3c393b4b08> (web)
- <https://github.com/justmoon/node-bignum> (package)

## Sources

- GitHub Advisory Database: [GHSA-7cgc-fjv4-52x6](https://github.com/advisories/GHSA-7cgc-fjv4-52x6), CC-BY-4.0, modified 2023-05-24

---

Page: https://cve.day/GHSA-7cgc-fjv4-52x6 · Whole record: https://cve.day/GHSA-7cgc-fjv4-52x6.json · Rebuilt by cve.day 2026-11-25T22:56:44.526Z
