VULNERABILITY INTELLIGENCE
CVE-2019-16764
CVSS score6.5 MEDIUM
EPSS probability1.08%
CISA KEVNot currently listed
Published2019-11-25
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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.
Weakness classification
- CWE-400: Uncontrolled Resource Consumption
Primary references
- security-advisories@github.com — Product
- security-advisories@github.com — Patch
- security-advisories@github.com — Third Party Advisory
- security-advisories@github.com — Release Notes
- af854a3a-2127-422b-91ae-364da2661108 — Product
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes