CVE-2019-16764CWE-400

PowAssent is susceptible to denial of service attacks

Medium · published November 25, 2019

CVSS v3.1
6.5
EPSS
1%
Percentile
64.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01082 · 64.9th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2019-11-25T17:11Z
EPSS history
Timeline
  • 25 NOV 17:11Z
    PowAssent is susceptible to denial of service attacks
    cvelistv5