GHSA-7xhv-mpjw-422f

Suggest an improvement
Source
https://github.com/advisories/GHSA-7xhv-mpjw-422f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7xhv-mpjw-422f/GHSA-7xhv-mpjw-422f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7xhv-mpjw-422f
Aliases
Published
2022-06-03T00:00:59Z
Modified
2023-11-08T04:06:07Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command injection in google-it
Details

Google-it is a Node.js package which allows its users to send search queries to Google and receive the results in a JSON format. When using the 'Open in browser' option in versions up to 1.6.2, google-it will unsafely concat the result's link retrieved from google to a shell command, potentially exposing the server to RCE.

Database specific
{
    "cwe_ids": [
        "CWE-74",
        "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-03T22:23:45Z",
    "nvd_published_at": "2022-06-02T14:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / google-it

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.6.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7xhv-mpjw-422f/GHSA-7xhv-mpjw-422f.json"