CVE-2019-16764

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-16764
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16764.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-16764
Aliases
Withdrawn
2024-09-03T02:56:40.314095Z
Published
2019-11-25T17:15:11Z
Modified
2024-09-03T03:11:47.567896Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/pow-auth/pow_assent

Affected ranges

Type
GIT
Repo
https://github.com/pow-auth/pow_assent
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2
v0.4.3