Vulnerability Description
git-commiters is a Node.js function module providing committers stats for their git repository. Prior to version 0.1.2, there is a command injection vulnerability in git-commiters. This vulnerability manifests with the library's primary exported API: gitCommiters(options, callback) which allows specifying options such as cwd for current working directory and revisionRange as a revision pointer, such as HEAD. However, the library does not sanitize for user input or practice secure process execution API to separate commands from their arguments and as such, uncontrolled user input is concatenated into command execution. This issue has been patched in version 0.1.2.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Riceball | Git-Commiters | < 0.1.2 |
Related Weaknesses (CWE)
References
- https://github.com/snowyu/git-commiters.js/commit/7f0abfedbf506e3a61ac875d91324aPatch
- https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrExploitVendor Advisory
- https://github.com/snowyu/git-commiters.js/security/advisories/GHSA-g38c-wxjf-xrExploitVendor Advisory
FAQ
What is CVE-2025-59831?
CVE-2025-59831 is a vulnerability with a CVSS score of 8.8 (HIGH). git-commiters is a Node.js function module providing committers stats for their git repository. Prior to version 0.1.2, there is a command injection vulnerability in git-commiters. This vulnerability ...
How severe is CVE-2025-59831?
CVE-2025-59831 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-59831?
Check the references section above for vendor advisories and patch information. Affected products include: Riceball Git-Commiters.