PT-2019-12023 · Sequelize · Sequelize

Publicado

2019-10-28

·

Atualizado

2019-11-06

·

CVE-2019-10748

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Sequelize versions prior to 3.35.1 Sequelize versions prior to 4.44.3 Sequelize versions prior to 5.8.11
Description The issue is related to SQL Injection due to JSON path keys not being properly escaped for the MySQL/MariaDB dialects. This may allow attackers to inject SQL statements and execute arbitrary SQL queries. The package fails to sanitize JSON path keys in the MariaDB and MySQL dialects.
Recommendations If you are using Sequelize 5.x, upgrade to version 5.8.11 or later. If you are using Sequelize 4.x, upgrade to version 4.44.3 or later. If you are using Sequelize 3.x, upgrade to version 3.35.1 or later.

Exploit

Correção

SQL injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2019-10748
GHSA-J9XP-92VC-559J
SNYK-JS-SEQUELIZE-450221

Produtos afetados

Sequelize