UnratednpmAmendedPublished
Malware in pre-build binaries of bignum
GHSA-7cgc-fjv4-52x6
- Affected
- npm bignum >= 0.12.2, < 0.13.1
- Fixed in
- 0.13.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.13.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.