GMS-2020-770: SQL Injection via GeoJSON in sequelize
(updated )
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.
References
Detect and mitigate GMS-2020-770 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →