GitHub Advisoryadvisory · npm

GHSA-9mr8-6prp-gwjv SQL Injection in query-mysql

HIGH Published 2018-09-10 Modified 2021-09-08 Official page ↗
Aliases
CVE-2018-3754
Ecosystem
npm
Packages
query-mysql
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2020-06-16

Affected packages

• npm query-mysql: <= 0.0.2 (no fix yet)

Description

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. Recommendation No 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.

Related

Alias · CVE (1)

  • CVE-2018-3754 Node.js third-party module query-mysql versions 0.0.0, 0.0.1, and 0.0.2 are vulnerable to an SQL injection vulnerability due to lack of… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References