Advisory

GHSA-5v9h-q3gj-c32x

Also known as: CVE-2016-1000225

Summary

SQL Injection via GeoJSON in sequelize

Details

Affected versions of sequelize are vulnerable to SQL Injection in Models that have fields with the GEOMETRY DataType. This vulnerability occurs because single quotes in document values are not escaped for GeoJSON documents using ST_GeomFromGeoJSON, and MySQL GeoJSON documents using GeomFromText.

Recommendation

Update to version 3.23.6 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-01 15:27 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

sequelize

npm · All systems

Affected

  • introduced 3.4.0, fixed 3.23.6 (semver)

Fixed versions

3.23.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences