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.
Remediation
References
https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c
https://github.com/JPeer264/node-git-commit-info/issues/24
https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174
Related Vulnerabilities
CVE-2021-43570 Vulnerability in maven package com.starkbank.ellipticcurve:starkbank-ecdsa
CVE-2014-0112 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2023-33201 Vulnerability in maven package org.bouncycastle:bcprov-debug-jdk15to18
CVE-2021-21266 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.binding.gce
CVE-2023-46233 Vulnerability in maven package org.webjars.bower:crypto-js