CVE-2021-32673: Remote Command Execution in reg-keygen-git-hash-plugin
Summary
CVE-2021-32673: Remote Command Execution in reg-keygen-git-hash-plugin. Affects reg-keygen-git-hash-plugin versions < 0.10.16. Fixed in 0.10.16. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The reg-keygen-git-hash-plugin is an npm package that provides functionality for generating git hashes for regression testing. It is commonly used in software development projects to track changes and ensure consistency in testing environments. However, versions up to 0.10.15 of this package are vulnerable to remote command execution.
Vulnerability Detail
The vulnerability in reg-keygen-git-hash-plugin allows remote attackers to execute arbitrary commands. This can lead to unauthorized access, data breaches, and potential compromise of the affected system. The vulnerability arises from improper input validation, which enables malicious actors to inject and execute arbitrary commands.
How To Fix
Minimum fixed version
0.10.16
This is the first release that contains the fix.
npm install reg-keygen-git-hash-plugin@0.10.16
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to upgrade to the patched version of the reg-keygen-git-hash-plugin to eliminate the risk of remote command execution.
Conclusion
The vulnerability in reg-keygen-git-hash-plugin allows remote command execution, posing a significant security risk. To mitigate this vulnerability, it is crucial to upgrade to version 0.10.16 or later of the package. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for reg-keygen-git-hash-plugin →
FAQ
reg-keygen-git-hash-plugin is an npm package used for generating git hashes in regression testing.
The vulnerability allows remote attackers to execute arbitrary commands, potentially leading to unauthorized access and data breaches.
To fix this vulnerability, upgrade to version 0.10.16 or later of the reg-keygen-git-hash-plugin.
No, there is no known workaround. Upgrading to the patched version is the recommended solution.
For more information, you can open an issue in the reg-viz/reg-suit GitHub repository.