GHSA-rjhc-w3fj-j6x9 Malicious Package in alipayjsapi
Malicious code in alipayjsapi uploads system info and executes remote files, compromising the host; remove package and rotate secrets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-rjhc-w3fj-j6x9?
GHSA-rjhc-w3fj-j6x9 is a vulnerability in alipayjsapi, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of alipayjsapi contain malicious code. The package uploads system information to a remote server, downloads a file and executes it.
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-rjhc-w3fj-j6x9?
2 open source packages ship an affected version, including alipayjsapi.
| Package | Affected | Fixed in |
|---|---|---|
alipayjsapi npm | From 0.0.0 | None |
alipayjsapi npm | From 0.0.0 | None |
How do I fix GHSA-rjhc-w3fj-j6x9?
No fix has been published for GHSA-rjhc-w3fj-j6x9 yet. Limit exposure of the affected software until one is available.
Is GHSA-rjhc-w3fj-j6x9 being exploited?
There is no known exploitation of GHSA-rjhc-w3fj-j6x9 in the wild and no public exploit code.