GHSA-fm7r-2pr7-rw2p

Suggest an improvement
Source
https://github.com/advisories/GHSA-fm7r-2pr7-rw2p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-fm7r-2pr7-rw2p/GHSA-fm7r-2pr7-rw2p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fm7r-2pr7-rw2p
Published
2020-09-02T21:45:02Z
Modified
2021-09-30T21:57: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 yeoman-genrator
Details

Version 3.1.1 of yeoman-genrator contains malicious code as a preinstall script. The package is malware designed to take advantage of users making a mistake when typing the name of a module to install. When installed, the package downloads a file from a remote server, executes it and opens a backdoor.

Recommendation

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer.

The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

Affected packages

npm / yeoman-genrator

Package

Name
yeoman-genrator
View open source insights on deps.dev
Purl
pkg:npm/yeoman-genrator

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-fm7r-2pr7-rw2p/GHSA-fm7r-2pr7-rw2p.json"