PT-2020-21468 · Npm · Shrugging-Logging
Published
2020-09-11
·
Updated
2020-09-11
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
shrugging-logging versions (affected versions not specified)
Description
The issue concerns malicious code in the
shrugging-logging package, specifically a postinstall script. This script fetches the names of npm packages owned by the user and attempts to add another maintainer to every package, which is a means of package hijacking.Recommendations
Remove the
shrugging-logging package from your system.
If you own any packages that were compromised, contact npm security immediately at security@npmjs.com.
Enable 2FA for publishing to further secure packages you maintain.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Shrugging-Logging