Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bignum
  4. ›
  5. GMS-2023-1685

GMS-2023-1685: Malware in pre-build binaries of bignum

May 24, 2023

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.

References

  • github.com/advisories/GHSA-7cgc-fjv4-52x6
  • github.com/justmoon/node-bignum/commit/57e48c3f052249725517415d83c7147e4a8c44c8
  • github.com/justmoon/node-bignum/commit/72951c53e7c5c1ac157f04686dc12c3c393b4b08
  • github.com/justmoon/node-bignum/security/advisories/GHSA-7cgc-fjv4-52x6

Code Behaviors & Features

Detect and mitigate GMS-2023-1685 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.12.2 before 0.13.1

Fixed versions

  • 0.13.1

Solution

Upgrade to version 0.13.1 or above.

Source file

npm/bignum/GMS-2023-1685.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:26 +0000.