cvelist/2019/16xxx/CVE-2019-16764.json
2019-11-25 10:09:28 -07:00

107 lines
4.0 KiB
JSON

{
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2019-16764",
"STATE": "PUBLIC",
"TITLE": "PowAssent is susceptible to denial of service attacks"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "pow_assent",
"version": {
"version_data": [
{
"version_affected": "<",
"version_name": "< 0.4.4",
"version_value": "0.4.4"
}
]
}
}
]
},
"vendor_name": "pow-auth"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-400 Uncontrolled Resource Consumption"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986",
"refsource": "CONFIRM",
"url": "https://github.com/pow-auth/pow_assent/security/advisories/GHSA-368c-xvrv-x986"
},
{
"name": "https://hex.pm/packages/pow_assent",
"refsource": "MISC",
"url": "https://hex.pm/packages/pow_assent"
},
{
"name": "http://erlang.org/doc/efficiency_guide/commoncaveats.html#list_to_atom-1",
"refsource": "MISC",
"url": "http://erlang.org/doc/efficiency_guide/commoncaveats.html#list_to_atom-1"
},
{
"name": "https://github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cf",
"refsource": "MISC",
"url": "https://github.com/pow-auth/pow_assent/commit/026105eeecc0e3c2f807e7109e745ea93c0fd9cf"
}
]
},
"source": {
"advisory": "GHSA-368c-xvrv-x986",
"discovery": "UNKNOWN"
},
"work_around": [
{
"lang": "eng",
"value": "A plug can be used to validate conn.params[&quot;provider&quot;] before it reaches the PowAssent.Phoenix.AuthorizationController."
}
]
}