CVE-2017-20166
CRITICAL 9.8CVSS 3.1Ecto missing `is_nil` requirement
Ecto 2.2.0 lacks a certain protection mechanism associated with the interaction between is_nil and raise.
- Published
- 10 Jan 2023
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- GHSA-2xxx-fhc8-9qvq
- Sources
- NVDJSONOSV GHSA-2xxx-fhc8-9qvqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ecto_project | ectocpe:2.3:a:ecto_project:ecto:2.2.0:*:*:*:*:*:*:* |
= 2.2.0 | |
| OSV | Hex | ecto | >= 2.2.0, < 2.2.1 | 2.2.1 |
References
- https://github.com/advisories/GHSA-2xxx-fhc8-9qvq · Third Party Advisory
- https://github.com/elixir-ecto/ecto/commit/db55b0cba6525c24ebddc88ef9ae0c1c00620250 · Patch, Third Party Advisory, WEB
- https://github.com/elixir-ecto/ecto/pull/2125 · Exploit, Third Party Advisory, WEB
- https://groups.google.com/forum/#%21topic/elixir-ecto/0m4NPfg_MMU
- https://nvd.nist.gov/vuln/detail/CVE-2017-20166 · ADVISORY
- https://github.com/elixir-ecto/ecto · PACKAGE
- https://groups.google.com/forum/#!topic/elixir-ecto/0m4NPfg_MMU · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Jan 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Apr 2022)