GitHub Advisoryadvisory · Hex

GHSA-2xxx-fhc8-9qvq Ecto missing `is_nil` requirement

CRITICAL Published 2022-04-12 Modified 2026-01-22 Official page ↗
Aliases
CVE-2017-20166
Ecosystem
Hex
Packages
ecto
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Reviewed
2022-04-12

Affected packages

• Hex ecto: >= 2.2.0, < 2.2.1 → fixed in 2.2.1

Description

Ecto will not raise on queries with non-explicit nil comparisons (ie if they aren't checked with `is_nil`).

Related

Alias · CVE (1)

  • CVE-2017-20166 Ecto 2.2.0 lacks a certain protection mechanism associated with the interaction between is_nil and raise. vulnerability

References