CVE-2019-16764
MEDIUM 5.5CVSS 3.1Denial of service
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.
- Published
- 25 Nov 2019
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-368c-xvrv-x986GHSA-5653-437f-5hmc
- Sources
- NVDJSONOSV GHSA-5653-437f-5hmcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | powauth | powassentcpe:2.3:a:powauth:powassent:*:*:*:*:*:*:*:* |
< 0.4.4 | 0.4.4 |
| OSV | Hex | pow_assent | < 0.4.4 | 0.4.4 |
References
- http://erlang.org/doc/efficiency_guide/commoncaveats.html#list_to_atom-1 · Product, WEB
- https://github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cf · Patch, WEB
- https://github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986 · Third Party Advisory, WEB
- https://hex.pm/packages/pow_assent · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-16764 · ADVISORY
- https://github.com/pow-auth/pow_assent · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 25 Nov 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Apr 2022)