CVE-2023-26134
Git-commit-info Project Git-commit-info vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Git-commit-info. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git-commit-info Project Git-commit-info runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c · Patch
- security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 · Exploit
- github.com/JPeer264/node-git-commit-info/issues/24 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-26134
- www.npmjs.com/package/execa/v/5.1.0#execacommandcommand-options
- github.com/advisories/GHSA-h42j-mrmp-9369
- nvd.nist.gov/vuln/detail/CVE-2023-26134
- cve.org/CVERecord?id=CVE-2023-26134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.