{
  "schema_version": "1.4.0",
  "id": "GHSA-9mr8-6prp-gwjv",
  "modified": "2021-09-08T20:06:59Z",
  "published": "2018-09-10T15:20:30Z",
  "aliases": [
    "CVE-2018-3754"
  ],
  "summary": "SQL Injection in query-mysql",
  "details": "All versions of `query-mysql` are vulnerable to SQL injection due to lack of user input sanitization allows to run arbitrary SQL queries when fetching data from database.\n\n\n## Recommendation\n\nNo fix is currently available for this vulnerability. It is our recommendation to not install or use this module if user input is passed into this module.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "query-mysql"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.0.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3754"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/311244"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-9mr8-6prp-gwjv"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/666"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-89"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:28:59Z",
    "nvd_published_at": null
  }
}