Lucene search

K
osvGoogleOSV:GHSA-5653-437F-5HMC
HistoryApr 12, 2022 - 9:29 p.m.

Denial of service

2022-04-1221:29:30
Google
osv.dev
7
powassent
denial of service
user provided data
app crash

EPSS

0

Percentile

5.1%

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.

EPSS

0

Percentile

5.1%

Related for OSV:GHSA-5653-437F-5HMC