SQL Injection Affecting sql package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:sql:20180512
  • published13 May 2018
  • disclosed12 May 2018
  • creditChALkeR

Introduced: 12 May 2018

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

There is no fix version for sql.

Overview

sql is a sql string builder for node - supports PostgreSQL, mysql, Microsoft SQL Server, Oracle and sqlite dialects.

Affected versions of this package are vulnerable to SQL Injection. A malicious user may insert potentially user-controlled content into the queries without proper escaping, in cases where that is not verified additionally in the applications that are using sql library.

References

CVSS Scores

version 3.1