GHSA-H42J-MRMP-9369
Vulnerability from github – Published: 2023-06-28 06:30 – Updated: 2024-10-30 18:00
VLAI?
Summary
git-commit-info vulnerable to Command Injection
Details
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.
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "git-commit-info"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-26134"
],
"database_specific": {
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2023-06-30T20:32:34Z",
"nvd_published_at": "2023-06-28T05:15:10Z",
"severity": "HIGH"
},
"details": "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.",
"id": "GHSA-h42j-mrmp-9369",
"modified": "2024-10-30T18:00:09Z",
"published": "2023-06-28T06:30:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26134"
},
{
"type": "WEB",
"url": "https://github.com/JPeer264/node-git-commit-info/issues/24"
},
{
"type": "WEB",
"url": "https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c"
},
{
"type": "PACKAGE",
"url": "https://github.com/JPeer264/node-git-commit-info"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/package/execa/v/5.1.0#execacommandcommand-options"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "git-commit-info vulnerable to Command Injection"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…