CVE-2023-26134 git-commit-info vulnerable to Command Injection
CriticalCVSS 9.8
EPSS 3.6%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| git-commit-info project git-commit-info | < 2.0.2 | 2.0.2 | Fixed |
| npm git-commit-info(npm) | < 2.0.2 | 2.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm git-commit-info(npm) | < 2.0.2 | 2.0.2 |
| git-commit-info project git-commit-info | < 2.0.2 | 2.0.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking
- github.com patch
- security.snyk.io exploit third-party-advisory
- www.npmjs.com
- github.com
- github.com product