CVE-2021-26541

Source
https://cve.org/CVERecord?id=CVE-2021-26541
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-26541.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-26541
Aliases
Published
2021-02-08T17:15:13.800Z
Modified
2025-11-14T11:32:53.440397Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/domharrington/node-gitlog

Affected ranges

Type
GIT
Repo
https://github.com/domharrington/node-gitlog
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.0.1

v0.*

v0.1.0
v0.1.1

v1.*

v1.0.0

v2.*

v2.0.0
v2.0.1
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.3.0
v2.4.0

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.1.0
v3.1.1
v3.1.2
v3.2.0
v3.3.0
v3.3.1
v3.3.2
v3.3.3
v3.3.4
v3.3.5
v3.3.6

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-26541.json"