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-j7frJSON: 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:
- https://nvd.nist.gov/vuln/detail/CVE-2021-26541
- https://github.com/domharrington/node-gitlog/pull/65
- https://github.com/domharrington/node-gitlog/pull/65/commits/bb22ffb2c907e0284f887ab625e12b88c31f4bf4
- https://www.npmjs.com/package/gitlog
- https://advisory.checkmarx.net/advisory/CX-2020-4301
- https://github.com/advisories/GHSA-67mm-m3wx-j7fr
Blast Radius: 30.0
Affected Packages
npm:gitlog
Dependent packages: 92Dependent 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