Resource exhaustion in Pow-Auth Pow Assent
CVE-2019-16764
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.011 · 65.8th percentile
- Published
- 2019-11-25
The use of `String.to_atom/1` in PowAssent is susceptible to denial of service attacks. In `PowAssent.Phoenix.AuthorizationController` a value is fetched from the user provided params, and `String.to_atom/1` is used to convert the binary value to an atom so it can be used to fetch the provider configuration value. This is unsafe as it is user provided data, and can be used to fill up the whole atom table of ~1M which will cause the app to crash.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.011, 65.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pow-Auth Pow Assent — versions < 0.4.4
- Powauth Powassent
Weakness classification (CWE)
References
- github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986 (Third Party Advisory)
- hex.pm/packages/pow_assent (Release Notes)
- erlang.org/doc/efficiency_guide/commoncaveats.html (Product)
- github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cf (Patch)