GitHub Advisoryadvisory · npm

GHSA-58v4-qwx5-7f59 SQL Injection in knex

CRITICAL Published 2019-10-21 Modified 2021-08-18 Official page ↗
Aliases
CVE-2019-10757
Ecosystem
npm
Packages
knex
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2019-10-17

Affected packages

• npm knex: < 0.19.5 → fixed in 0.19.5

Description

knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.

Related

Alias · CVE (1)

  • CVE-2019-10757 knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. vulnerability

Weakness · CWE (1)

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

References