Vulnerabilities · 2023 · Sequelizejs
CVE-2023-25813
Sequelizejs Sequelize vulnerability
Sequelize is a Node.js ORM tool. In versions prior to 6.19.1 a SQL injection exploit exists related to replacements. Parameters which are passed through replacements are not properly escaped which can lead to arbitrary SQL injection depending on the specific queries in use. The issue has been fixed in Sequelize 6.19.1. Users are advised to upgrade. Users unable to upgrade should not use the `replacements` and the `where` option in the same query.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Sequelize. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sequelizejs Sequelize runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sequelize/sequelize/security/advisories/GHSA-wrh9-cjv3-2hpw · Exploit
- github.com/sequelize/sequelize/commit/ccaa3996047fe00048d5993ab2dd43ebadd4f78b · Patch
- github.com/sequelize/sequelize/issues/14519 · Exploit
- github.com/sequelize/sequelize/releases/tag/v6.19.1
- nvd.nist.gov/vuln/detail/CVE-2023-25813
- cve.org/CVERecord?id=CVE-2023-25813
More vulnerabilities in Sequelizejs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.