Ecto
Monthly
Unbounded growth of the per-repository Ecto query cache allows an unauthenticated remote attacker to permanently exhaust memory in the Elixir application and, when ecto_sql is used, in the database server by sending requests whose distinct JSON keys or list lengths are interpolated into queries. The flaw is conditional: an application is exposed only if it feeds request data into json_extract_path(field, ^path), json_extract_path(field, [^key]), field[^key] or a request-controlled list into splice/1, and runs those queries through a repository with the default query_cache: true - typically filter and sort endpoints over JSON columns. A public PoC reference exists in the vendor advisory (it measured roughly 2 MB retained in the BEAM and 3 MB in PostgreSQL per 1 MB of request data); it is not verified here as working exploit code, and there is no confirmed active exploitation (CISA KEV). Severity is high (vendor CVSS 4.0 base 8.9; assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H, availability-only with scope change), and the vendor fix is version 3.14.3.
Unbounded growth of the per-repository Ecto query cache allows an unauthenticated remote attacker to permanently exhaust memory in the Elixir application and, when ecto_sql is used, in the database server by sending requests whose distinct JSON keys or list lengths are interpolated into queries. The flaw is conditional: an application is exposed only if it feeds request data into json_extract_path(field, ^path), json_extract_path(field, [^key]), field[^key] or a request-controlled list into splice/1, and runs those queries through a repository with the default query_cache: true - typically filter and sort endpoints over JSON columns. A public PoC reference exists in the vendor advisory (it measured roughly 2 MB retained in the BEAM and 3 MB in PostgreSQL per 1 MB of request data); it is not verified here as working exploit code, and there is no confirmed active exploitation (CISA KEV). Severity is high (vendor CVSS 4.0 base 8.9; assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H, availability-only with scope change), and the vendor fix is version 3.14.3.