CVE-2017-20166
Hex vulnerability
Ecto will not raise on queries with non-explicit nil comparisons (ie if they aren't checked with `is_nil`).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Hex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/elixir-ecto/ecto/pull/2125
- github.com/elixir-ecto/ecto/commit/db55b0cba6525c24ebddc88ef9ae0c1c00620250
- groups.google.com/forum/#!topic/elixir-ecto/0m4NPfg_MMU
- nvd.nist.gov/vuln/detail/CVE-2017-20166
- github.com/advisories/GHSA-2xxx-fhc8-9qvq
- groups.google.com/forum/#%21topic/elixir-ecto/0m4NPfg_MMU
- nvd.nist.gov/vuln/detail/CVE-2017-20166
- cve.org/CVERecord?id=CVE-2017-20166
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.