CVE-2019-16764 MEDIUM

CVE-2019-16764: PowAssent is susceptible to denial of service attacks

Vendor Pow-Auth
Product pow_assent
Weakness CWE-400
Published November 25, 2019
Last update August 5, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 25, 2019 CVE published
August 5, 2024 Record updated