PT-2023-20513

CVE-2023-26134

·

Published

2023-06-28

·

Updated

2023-07-06

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions git-commit-info versions prior to 2.0.2
Description The issue arises from the gitCommitInfo() method failing to sanitize its commit parameter, which later flows into a sensitive command execution API. This allows attackers to inject malicious commands once they control the hash content, potentially leading to command injection attacks. The vulnerability enables attackers to inject arguments to the git binary.
Recommendations For versions prior to 2.0.2, update to version 2.0.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the gitCommitInfo() function until a patch is available. Avoid using the commit parameter in sensitive command execution APIs until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-H42J-MRMP-9369
Found an issue in the description? Have something to add? Feel free to write us 👾