CVE-2016-1000225 SQL Injection via GeoJSON in sequelize
CriticalCVSS 9.8
- Published
- Unknown
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm sequelize(npm) | >= 3.4.0, < 3.23.6 | 3.23.6 |
References
- github.com
- nvd.nist.gov third-party-advisory
- snyk.io
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com