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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2023-25813 - High Severity Vulnerability
Vulnerable Library - sequelize-6.9.0.tgz
Multi dialect ORM for Node.JS
Library home page: https://registry.npmjs.org/sequelize/-/sequelize-6.9.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/sequelize/package.json
Dependency Hierarchy: - :x: **sequelize-6.9.0.tgz** (Vulnerable Library)
Found in HEAD commit: 2b993a14d39c90a77f08a7037a4146893648b6f5
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-02-22
URL: CVE-2023-25813
CVSS 3 Score Details (10.0)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-25813
Release Date: 2023-02-22
Fix Resolution: 6.19.1
:rescue_worker_helmet: Automatic Remediation is available for this issue