Skip to main content
← All vulnerabilities
CVE-2019-16764

PowAssent is susceptible to denial of service attacks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.4.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • pow-auth pow_assent

    fixed in 0.4.4

References 4

GitHub · pow-auth/pow_assent

hex.pm

erlang.org