GHSA-gfm8-g3vm-53jh

Suggest an improvement
Source
https://github.com/advisories/GHSA-gfm8-g3vm-53jh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gfm8-g3vm-53jh/GHSA-gfm8-g3vm-53jh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gfm8-g3vm-53jh
Published
2020-09-03T17:21:19Z
Modified
2021-09-30T17:16:55Z
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 leetlog
Details

Versions 0.1.2 and 0.1.3 of leetlog contain malicious code. The package adds an arbitrary hardcoded SSH key identified as hacker@evilmachine to the system's authorized_keys

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:45:08Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / leetlog

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.1.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gfm8-g3vm-53jh/GHSA-gfm8-g3vm-53jh.json"