CVE-2019-16764 PowAssent is susceptible to denial of service attacks
설명
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.
영향 받는 제품 제품 2개
-
pow-auth
pow_assent
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
-
NVD 기준 해결 버전 있음
powauth
powassent
영향 받는 버전
- 0.4.4 미만
해결 버전
- 0.4.4 이상
참고 자료 4건
- erlang.org http://erlang.org/doc/efficiency_guide/commoncaveats.html#list_to_atom-1 (새 창)
- github.com https://github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cf (새 창)
- github.com https://github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986 (새 창)
- hex.pm https://hex.pm/packages/pow_assent (새 창)