GHSA-76xq-58hj-vwm2

Suggest an improvement
Source
https://github.com/advisories/GHSA-76xq-58hj-vwm2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-76xq-58hj-vwm2/GHSA-76xq-58hj-vwm2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-76xq-58hj-vwm2
Published
2020-09-11T21:16:59Z
Modified
2021-09-30T22:06:07Z
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 test-module-a
Details

All versions of test-module-a contain malicious code as a preinstall 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:53Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / test-module-a

Package

Name
test-module-a
View open source insights on deps.dev
Purl
pkg:npm/test-module-a

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-76xq-58hj-vwm2/GHSA-76xq-58hj-vwm2.json"