Lucene search

K
githubGitHub Advisory DatabaseGHSA-H42J-MRMP-9369
HistoryJun 28, 2023 - 6:30 a.m.

git-commit-info vulnerable to Command Injection

2023-06-2806:30:22
CWE-77
CWE-78
GitHub Advisory Database
github.com
11
git-commit-info vulnerability
command injection
package security
sensitive command execution
hash content attackers
software

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.002 Low

EPSS

Percentile

54.8%

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.

Affected configurations

Vulners
Node
git-commit-info_projectgit-commit-infoRange<2.0.2node.js
CPENameOperatorVersion
git-commit-infolt2.0.2

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.002 Low

EPSS

Percentile

54.8%

Related for GHSA-H42J-MRMP-9369