{
  "schema_version": "1.4.0",
  "id": "GHSA-wjr4-2jgw-hmv8",
  "modified": "2023-09-12T21:12:31Z",
  "published": "2018-07-31T18:28:53Z",
  "aliases": [
    "CVE-2018-3772"
  ],
  "summary": "Command Injection in whereis",
  "details": "Versions of `whereis` before 0.4.1 are vulnerable to command injection if untrusted user input is passed into `whereis`.\n\n\n## Recommendation\n\nUpdate to version 0.4.1 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "whereis"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.4.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3772"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vvo/node-whereis/commit/0f64e3780235004fb6e43bfd153ea3e0e210ee2b"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/319476"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-wjr4-2jgw-hmv8"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/604"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T22:00:43Z",
    "nvd_published_at": null
  }
}