CVE-2019-16764
Summary
| CVE | CVE-2019-16764 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-11-25 17:15:00 UTC |
| Updated | 2021-10-28 13:21:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Common Caveats | MISC | erlang.org | Product |
| pow_assent | Hex | MISC | hex.pm | Release Notes |
| Denial of service · Advisory · pow-auth/pow_assent · GitHub | CONFIRM | github.com | Third Party Advisory |
| Prevent `String.to_atom/1` calls · pow-auth/pow_assent@026105e · GitHub | MISC | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.