Command Injection in node-gitlog package dor npm



Published: 2021-02-16
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-26541
CWE-ID CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
node-gitlog
Web applications / Modules and components for CMS

Vendor Dom Harrington

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Command Injection

EUVDB-ID: #VU50733

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-26541

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "gitlog" function in "src/index.ts". A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

node-gitlog: 0.0.1 - 4.0.3

External links

http://github.com/domharrington/node-gitlog/pull/65
http://www.npmjs.com/package/gitlog


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###