Skip to content

SQL Injection in mysql

Moderate severity GitHub Reviewed Published Sep 1, 2020 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm mysql (npm)

Affected versions

<= 2.0.0-alpha7

Patched versions

2.0.0-alpha8

Description

Versions of mysql prior to 2.0.0-alpha8 are affected by a SQL Injection vulnerability in the mysql.escape() function, which does not properly escape object keys.

Recommendation

Update to version 2.0.0-alpha8 or later.

References

Published by the National Vulnerability Database May 29, 2018
Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 1, 2020
Last updated Feb 1, 2023

Severity

Moderate

EPSS score

0.485%
(76th percentile)

Weaknesses

CVE ID

CVE-2015-9244

GHSA ID

GHSA-fvq6-55gv-jx9f

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.