Malicious Package Affecting bignum package, versions >=0.12.2 <0.13.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-BIGNUM-5602376
  • published 25 May 2023
  • disclosed 24 May 2023
  • credit calebbrown

Introduced: 24 May 2023

Malicious CVE NOT AVAILABLE CWE-506 Open this link in a new tab

How to fix?

Upgrade bignum to version 0.13.1 or higher.

Overview

bignum is a malicious package. The affected package versions are using 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.

Note:

Only versions v0.12.2 to v0.13.0 of this package contain malware. Users can continue using non-impacted versions.

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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High