Vulnerability

CVE-2019-16764

mediumCVSS 3.1 5.5Published 25 Nov 2019

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Powauth powassent

Weakness type

References

  • erlang.org /doc/efficiency_guide/commoncaveats.html
  • github.com /pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea…
  • github.com /pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986
  • hex.pm /packages/pow_assent

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning