9.8crit

CVE-2016-10554

SQL Injection in sequelize

Also known as GHSA-x2jc-pwfj-h9p3

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.9%
percentile 80%
Public exploits
0
none known

Summary

sequelize is an Object-relational mapping, or a middleman to convert things from Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server into usable data for NodeJS. Before version 1.7.0-alpha3, sequelize defaulted SQLite to use MySQL backslash escaping, even though SQLite uses Postgres escaping.

Exploit prediction (EPSS)

1.88% probability of exploitation in the next 30 days, higher than 80% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.09.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected packages

EcosystemPackageAffectedFixed in
npmsequelize
<1.7.0
1.7.0

Affected products

  • HackerOne sequelize node module

Classification

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

References

  • github.com /sequelize/sequelize/commit/c876192aa6ce1f67e22b26a4d175b8478615f42d · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/113 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-10554 · advisory
  • github.com /advisories/GHSA-x2jc-pwfj-h9p3 · advisory
  • npmjs.com /advisories/113 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.