CVE-2021-34083: Command injection in google-it
8.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.67928%
CWE
Published
6/3/2022
Updated
1/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
google-it | npm | <= 1.6.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability exists in both source and transpiled versions of openInBrowser
, which directly interpolates user-controlled URLs into a system command via exec()
. The functions lack any input validation or escaping mechanisms (like using execFile
with arguments array), making them susceptible to OS command injection when processing malicious search result links. This matches the CWE-78 description of improper neutralization in OS commands.