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)
EPSS: 0.011 (61.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Pow-auth Pow_assent — versions < 0.4.4
- Powauth Powassent
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
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.