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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.94% (percentile 81, 2026-11-28)
- **CWE:** CWE-94
- **Aliases:** GHSA-49q3-8867-5wmp
- **Published:** 2021-06-08T17:00:13.000Z
- **Modified:** 2026-07-08T06:28:59.194Z

## Who should check

- Projects that depend on npm package reg-keygen-git-hash-plugin (\< 0.10.16)
- Anyone running reg-viz reg-suit \< 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.

## Affected and fixed versions

- npm `reg-keygen-git-hash-plugin`: affected \< 0.10.16; fixed 0.10.16 (osv)
- reg-viz reg-suit: \< 0.10.16 (cvelist)

## Mitigation

- Upgrade reg-keygen-git-hash-plugin to 0.10.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-32673. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32673.md
Affected: reg-keygen-git-hash-plugin < 0.10.16
Fixed in: 0.10.16

Steps:
1. Search this machine and project for reg-keygen-git-hash-plugin (npm), reg-viz reg-suit: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-32673 being exploited?

There is no confirmed exploitation: CVE-2021-32673 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.94% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-32673?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-32673?

reg-keygen-git-hash-plugin \< 0.10.16.

### Is there a fix for CVE-2021-32673?

Yes. Fixed in 0.10.16. Upgrade reg-keygen-git-hash-plugin to 0.10.16 or later.

### How do I check if I'm affected by CVE-2021-32673?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/reg-viz/reg-suit/security/advisories/GHSA-49q3-8867-5wmp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-32673>
- patch: <https://github.com/reg-viz/reg-suit/commit/f84ad9c7a22144d6c147dc175c52756c0f444d87>
- other: <https://github.com/reg-viz/reg-suit/releases/tag/v0.10.16>
- other: <https://www.npmjs.com/package/reg-keygen-git-hash-plugin>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-32673>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-49q3-8867-5wmp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-32673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-32673>
