Vulnerability · Published Jun 28, 2023 · Assigned by snyk

CVE-2023-26134

Critical 9.8

In plain English

A critical-severity OS command injection in git-commit-info. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.6% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)3.6%top 10.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmgit-commit-info2.0.2GHSA-h42j-mrmp-9369

Affected products (as reported)

VendorProductVersions
n/a git-commit-info 0 – before 2.0.2

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

References