GHSA-qv78-398w-cxp7

Suggest an improvement
Source
https://github.com/advisories/GHSA-qv78-398w-cxp7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-qv78-398w-cxp7/GHSA-qv78-398w-cxp7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qv78-398w-cxp7
Published
2020-09-11T21:08:19Z
Modified
2021-09-30T22:00:05Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Malicious Package in shrugging-logging
Details

All versions of shrugging-logging contain malicious code as a postinstall script. The package fetches all names of npm packages owned by the user and attempts to add another maintainer to every package as a means of package hijacking,

Recommendation

Remove the package from your system. If you own any packages that were compromised please contact npm security immediately at security@npmjs.com. Also enable 2FA for publishing to further secure packages you maintain.

Database specific
{
    "cwe_ids":  [
        "CWE-506"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:40:36Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / shrugging-logging

Package

Name
shrugging-logging
View open source insights on deps.dev
Purl
pkg:npm/shrugging-logging

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-qv78-398w-cxp7/GHSA-qv78-398w-cxp7.json"