Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-20166

Ecto 2.2.0 lacks a certain protection mechanism associated with the interaction between is_nil and raise.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-20166
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:56 UTC · Revision 1

Source evidence

CVE-2017-20166

core-osv · Original source

Published 10 Jan 2023, 06:15 UTC

Ecto 2.2.0 lacks a certain protection mechanism associated with the interaction between is_nil and raise.

osv:CVE-2017-20166
Complete source record
{
  "id": "702592626b7fc7a3fb0f9348ab1ffb7a766ed0d9d2cd30ebce2f41d8cc514df9",
  "url": "https://osv.dev/vulnerability/CVE-2017-20166",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-20166",
    "summary": "Ecto 2.2.0 lacks a certain protection mechanism associated with the interaction between is_nil and raise.",
    "evidence": "osv:CVE-2017-20166",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-20166",
      "aliases": [
        "CVE-2017-20166",
        "GHSA-2xxx-fhc8-9qvq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elixir-ecto/ecto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4f84ddfbc89f83d6eed8362bf24e77bec5dcf81e"
                },
                {
                  "last_affected": "4f84ddfbc89f83d6eed8362bf24e77bec5dcf81e"
                },
                {
                  "fixed": "db55b0cba6525c24ebddc88ef9ae0c1c00620250"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ecto_project:ecto:2.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "db55b0cba6525c24ebddc88ef9ae0c1c00620250"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-20166.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:53.896236879Z",
      "provider": "osv",
      "references": [
        "https://groups.google.com/forum/#%21topic/elixir-ecto/0m4NPfg_MMU",
        "https://github.com/advisories/GHSA-2xxx-fhc8-9qvq",
        "https://github.com/elixir-ecto/ecto/commit/db55b0cba6525c24ebddc88ef9ae0c1c00620250",
        "https://github.com/elixir-ecto/ecto/pull/2125"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-20166",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380402,
  "published_at": "2023-01-10T06:15:09.61+00:00"
}