CVE-2023-26134
Critical
Description
Versions of the package git-commit-info before 2.0.2 are vulnerable to Command Injection such that the package-exported method gitCommitInfo () fails to sanitize its parameter commit, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they control the hash content.
SeverityCritical
CVSS9.8
Exploit probability—
ProductGit-commit-info
PublishedJun 28, 2023
First seenJun 28, 2023
Weakness typeCWE-78OS command injection
How to fix
Update
- git-commit-info_project git-commit-info2.0.2 or later
- git-commit-info2.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| git-commit-info_project git-commit-info | v < 2.0.2 | 2.0.2 |
| git-commit-infonpm | v < 2.0.2 | 2.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.