In sequelize, v3 versions prior to v3.23.5 are vulnerable to SQL injection via GeoJSON documents containing a value with a single quote. This vulnerability affects postresql/postgis as well as MySQL. This vulnerability only exists within GeoJSON documents using the function ST_GeomFromGeoJSON for postgresql/postgis and the function GeomFromText for mysql.
: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.
WS-2016-0033 - Medium Severity Vulnerability
Vulnerable Library - sequelize-3.14.2.tgz
Multi dialect ORM for Node.JS/io.js
Library home page: https://registry.npmjs.org/sequelize/-/sequelize-3.14.2.tgz
Path to dependency file: /todoapp/nodejs_api/package.json
Path to vulnerable library: /todoapp/nodejs_api/node_modules/sequelize/package.json,/todoapp/nodejs/node_modules/sequelize/package.json
Dependency Hierarchy: - :x: **sequelize-3.14.2.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
In sequelize, v3 versions prior to v3.23.5 are vulnerable to SQL injection via GeoJSON documents containing a value with a single quote. This vulnerability affects postresql/postgis as well as MySQL. This vulnerability only exists within GeoJSON documents using the function ST_GeomFromGeoJSON for postgresql/postgis and the function GeomFromText for mysql.
Publish Date: 2016-07-19
URL: WS-2016-0033
CVSS 3 Score Details (5.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/WS-2016-0033
Release Date: 2016-07-19
Fix Resolution: 3.23.5
Step up your Open Source Security Game with Mend here