Improper Input Validation Affecting ecto package, versions <2.2.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-HEX-ECTO-1088059
- published 30 Mar 2021
- disclosed 27 Aug 2017
- credit Unknown
How to fix?
Upgrade ecto
to version 2.2.1 or higher.
Overview
ecto is a toolkit for data mapping and language integrated query for Elixir.
Affected versions of this package are vulnerable to Improper Input Validation. Affected versions of ecto
do raise an error when non-explicit nil comparisons are made (as opposed to being checked with is_nil
). An attacker could pass a field as nil
(e.g. a token field) and force the application to run a query it was not intended to.
References
CVSS Scores
version 3.1