Description
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 If user input goes into the `limit` or `order` parameters, a malicious user can put in their own SQL statements. This affects sequelize 3.16.0 and earlier.
Remediation
References
https://github.com/sequelize/sequelize/pull/5167/commits/f282d85e60e3df5e57ecdb82adccb4eaef404f03
https://nodesecurity.io/advisories/112
Related Vulnerabilities
CVE-2022-35142 Vulnerability in npm package raneto
CVE-2021-31811 Vulnerability in maven package org.apache.pdfbox:pdfbox
CVE-2021-42392 Vulnerability in maven package com.h2database:h2
CVE-2018-1320 Vulnerability in maven package org.apache.thrift:libthrift
CVE-2018-14042 Vulnerability in maven package org.webjars.bower:bootstrap-sass