Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:hex/pow_assent@0.3.2
purl pkg:hex/pow_assent@0.3.2
Next non-vulnerable version 0.4.4
Latest non-vulnerable version 0.4.4
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-x4x4-mzaz-xkg3
Aliases:
CVE-2019-16764
GHSA-5653-437f-5hmc
### Impact 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's user provided data, and can be used to fill up the whole atom table of ~1M which will cause the app to crash. ### Workarounds A plug can be used to validate `conn.params["provider"]` before it reaches the `PowAssent.Phoenix.AuthorizationController`. ### References http://erlang.org/doc/efficiency_guide/commoncaveats.html#list_to_atom-1
0.4.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-10T17:22:35.035828+00:00 Elixir Security Importer Affected by VCID-x4x4-mzaz-xkg3 https://github.com/dependabot/elixir-security-advisories/blob/master/packages/pow_assent/2019-11-25.yml 38.6.0