CVEvulnerability
CVE-2023-26134
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2023-06-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77, CWE-78
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.
Affected configurations
• git-commit-info project git-commit-info (< 2.0.2)
Related
References
- https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c Patch
- https://github.com/JPeer264/node-git-commit-info/issues/24 Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 Exploit, Third Party Advisory
- https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c Patch
- https://github.com/JPeer264/node-git-commit-info/issues/24 Exploit, Issue Tracking
- https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 Exploit, Third Party Advisory