Moderate severityNVD Advisory· Published Nov 25, 2019· Updated Aug 5, 2024
PowAssent is susceptible to denial of service attacks
CVE-2019-16764
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pow_assentHex | < 0.4.4 | 0.4.4 |
Affected products
2- Range: < 0.4.4
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-5653-437f-5hmcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-16764ghsaADVISORY
- erlang.org/doc/efficiency_guide/commoncaveats.htmlghsax_refsource_MISCWEB
- github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cfghsax_refsource_MISCWEB
- github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986ghsax_refsource_CONFIRMWEB
- hex.pm/packages/pow_assentghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.