Skip to main content
MalwarePublished Updated

buffer-util-extend (npm) · Malicious Code

Affects buffer-util-extendSource GCVE Database

0

What to do

Affected software

ProductAffectedFixed in
npmbuffer-util-extendAffected
  • =1.0.8
  • =1.0.13
  • =1.0.11
  • =1.0.2
  • =1.0.3
  • =1.0.4
  • =1.0.5
  • =1.0.6
  • =1.0.7
  • =1.0.9
  • =1.0.10
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The 'buffer-util-extend' npm package contains malicious code that executes arbitrary JavaScript fetched from a remote, mutable JSON paste URL during import. This results in full arbitrary code execution on the machine installing or building with the package. The package impersonates the legitimate 'buffer' package to deceive users, adding unrelated dependencies and a remote eval payload. Any system with this package installed should be considered fully compromised, and secrets should be rotated immediately. Removal of the package does not guarantee full remediation due to potential persistence of malicious software.

References

Community reviews

Loading reviews…