PT-2022-8026 · Ecto · Ecto
Tlux
·
Published
2022-04-12
·
Updated
2025-04-09
·
CVE-2017-20166
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Ecto version 2.2.0
Description
The issue is related to a lack of protection mechanism in the interaction between
is nil and raise functions. Specifically, Ecto will not raise on queries with non-explicit nil comparisons, unless they are checked with is nil.Recommendations
For Ecto version 2.2.0, consider adding explicit nil checks using the
is nil function to ensure queries raise appropriately when encountering nil values. As a temporary workaround, review and modify queries to include explicit nil comparisons to minimize potential issues.Exploit
Fix
Improper Check for Exceptional Conditions
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ecto