GHSA-38hx-3542-8fh3

Suggest an improvement
Source
https://github.com/advisories/GHSA-38hx-3542-8fh3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/10/GHSA-38hx-3542-8fh3/GHSA-38hx-3542-8fh3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-38hx-3542-8fh3
Published
2020-10-01T17:09:56Z
Modified
2020-10-01T17:09:44Z
Summary
Malicious code in `electorn`
Details

npm packages loadyaml and electorn were removed from the npm registry for containing malicious code. Upon installation the package runs a preinstall script that writes a public comment on GitHub containing the following information:

  • IP and IP-based geolocation
  • home directory name
  • local username

The malicious packages have been removed from the npm registry and the leaked content removed from GitHub.

Database specific
{
    "cwe_ids":  [
        "CWE-506"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-10-01T17:09:44Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / electorn

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/10/GHSA-38hx-3542-8fh3/GHSA-38hx-3542-8fh3.json"