logo

CVE-2023-26134 git-commit-info

Package

Manager: npm
Name: git-commit-info
Vulnerable Version: >=0 <2.0.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

EPSS: 0.00221 pctl0.44706

Details

git-commit-info vulnerable to Command Injection 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 arguments to the git binary.

Metadata

Created: 2023-06-28T06:30:22Z
Modified: 2024-10-30T18:00:09Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-h42j-mrmp-9369/GHSA-h42j-mrmp-9369.json
CWE IDs: ["CWE-77", "CWE-78"]
Alternative ID: GHSA-h42j-mrmp-9369
Finding: F422
Auto approve: 1