CVE-2021-32673 Remote Command Execution in reg-keygen-git-hash-plugin
Remote attackers can execute arbitrary commands via the reg-keygen-git-hash-plugin, requiring an upgrade to the latest version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-32673?
CVE-2021-32673 is a high-severity command injection vulnerability in reg-viz reg-suit, published on 8 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
reg-keygen-git-hash-plugin is a reg-suit plugin to detect the snapshot key to be compare with using Git commit hash. reg-keygen-git-hash-plugin through and including 0.10.15 allow remote attackers to execute of arbitrary commands. Upgrade to version 0.10.16 or later to resolve this issue.
Which versions are affected by CVE-2021-32673?
2 open source packages ship an affected version, including reg-keygen-git-hash-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
reg-keygen-git-hash-plugin npm | All versions | 0.10.16 |
reg-keygen-git-hash-plugin npm | All versions | 0.10.16 |
Products include Reg-Keygen-Git-Hash Project Reg-Keygen-Git-Hash.
How do I fix CVE-2021-32673?
Upgrade reg-keygen-git-hash-plugin to 0.10.16 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-32673 being exploited?
There is no known exploitation of CVE-2021-32673 in the wild and no public exploit code.
Sources
Also known as GHSA-49q3-8867-5wmp.