Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY3bW0tbTN3eC1qN2Zy

Command injection in gitlog

The gitlog function in src/index.ts in gitlog before 4.0.4 has a command injection vulnerability.

Permalink: https://github.com/advisories/GHSA-67mm-m3wx-j7fr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY3bW0tbTN3eC1qN2Zy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: about 1 year ago


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

Identifiers: GHSA-67mm-m3wx-j7fr, CVE-2021-26541
References: Repository: https://github.com/domharrington/node-gitlog
Blast Radius: 30.0

Affected Packages

npm:gitlog
Dependent packages: 92
Dependent repositories: 1,158
Downloads: 345,548 last month
Affected Version Ranges: < 4.0.4
Fixed in: 4.0.4
All affected versions: 0.0.1, 0.1.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.3.0, 2.4.0, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 4.0.0, 4.0.1, 4.0.2, 4.0.3
All unaffected versions: 4.0.4, 4.0.8