Security mailing lists by PureSourceCode

CVE-2023-26134

CRITICAL 9.8CVSS 3.1

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 malicious commands once they control the hash content.

Published
28 Jun 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-h42j-mrmp-9369
Sources
NVDJSONOSV GHSA-h42j-mrmp-9369JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.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
NVD report@snyk.io (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD git-commit-info_project git-commit-info
cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*
< 2.0.2 2.0.2
OSV npm git-commit-info < 2.0.2 2.0.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 28 Jun 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.