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: over 2 years ago
Updated: 10 months 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
Affected Packages
npm:gitlog
Versions: < 4.0.4Fixed in: 4.0.4