PT-2021-17028 · Gitlog · Gitlog
Ron-Checkmarx
·
Published
2021-02-08
·
Updated
2022-04-26
·
CVE-2021-26541
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
gitlog versions prior to 4.0.4
Description
The issue is related to a command injection vulnerability in the gitlog function, located in src/index.ts. This vulnerability can be exploited due to insufficient input validation, allowing an attacker to inject malicious commands.
Recommendations
For versions prior to 4.0.4, update to version 4.0.4 or later to resolve the command injection vulnerability in the gitlog function. As a temporary workaround, consider restricting the use of the gitlog function until a patch is applied.
Exploit
Fix
Command Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gitlog