GHSA-gfm8-g3vm-53jh Malicious Package in leetlog

Not scored Published

Malicious npm package adds hardcoded SSH key, granting attackers full system access and requiring immediate credential rotation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
A user has to click or open something
Fix
None listed

What is GHSA-gfm8-g3vm-53jh?

GHSA-gfm8-g3vm-53jh is a vulnerability in leetlog, published on 3 Sep 2020.

Official description

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.

Which versions are affected by GHSA-gfm8-g3vm-53jh?

2 open source packages ship an affected version, including leetlog.

PackageAffectedFixed in
leetlog npmFrom 0.1.2None
leetlog npmFrom 0.1.2None

How do I fix GHSA-gfm8-g3vm-53jh?

No fix has been published for GHSA-gfm8-g3vm-53jh yet. Limit exposure of the affected software until one is available.

Is GHSA-gfm8-g3vm-53jh being exploited?

There is no known exploitation of GHSA-gfm8-g3vm-53jh in the wild and no public exploit code.

Sources

Is GHSA-gfm8-g3vm-53jh in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free