CVE-2016-10551
SQL Injection in waterline-sequel
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
waterline-sequel is a module that helps generate SQL statements for Waterline apps Any user input that goes into Waterline's `like`, `contains`, `startsWith`, or `endsWith` will end up in waterline-sequel with the potential for malicious code. A malicious user can input their own SQL statements in waterline-sequel 0.50 that will get executed and have full access to the database.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | waterline-sequel | 0.5.1 |
References
- https://github.com/advisories/GHSA-cgpp-wm2h-6hqx
- https://github.com/balderdashy/waterline-sequel/pull/66
- https://github.com/balderdashy/waterline/issues/1219#issuecomment-157294530
- https://nodesecurity.io/advisories/115
- https://nvd.nist.gov/vuln/detail/CVE-2016-10551
- https://www.npmjs.com/advisories/115