Resource exhaustion in Pow-Auth Pow Assent
CVE-2019-16764
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 (63.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
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)
Frequently asked questions
- What is CVE-2019-16764?
- CVE-2019-16764 is a medium-severity vulnerability in Pow-Auth Pow Assent, classified under Uncontrolled Resource Consumption. CVSS score: 6.5/10. Published 2019-11-25.
- How severe is CVE-2019-16764?
- Medium severity. CVSS v3 base score is 6.5 out of 10.