cvelist/2022/31xxx/CVE-2022-31151.json

98 lines
3.6 KiB
JSON
Raw Normal View History

2022-05-18 19:02:22 +00:00
{
"CVE_data_meta": {
2022-07-21 04:00:46 +00:00
"ASSIGNER": "security-advisories@github.com",
2022-05-18 19:02:22 +00:00
"ID": "CVE-2022-31151",
2022-07-21 04:00:46 +00:00
"STATE": "PUBLIC",
"TITLE": "Uncleared cookies on cross-host/cross-origin redirect in undici"
2022-05-18 19:02:22 +00:00
},
2022-07-21 04:00:46 +00:00
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "undici",
"version": {
"version_data": [
{
"version_value": "< 5.7.1"
}
]
}
}
]
},
"vendor_name": "nodejs"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
2022-05-18 19:02:22 +00:00
"description": {
"description_data": [
{
"lang": "eng",
2022-07-21 04:00:46 +00:00
"value": "Authorization headers are cleared on cross-origin redirect. However, cookie headers which are sensitive headers and are official headers found in the spec, remain uncleared. There are active users using cookie headers in undici. This may lead to accidental leakage of cookie to a 3rd-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the 3rd party site. This was patched in v5.7.1. By default, this vulnerability is not exploitable. Do not enable redirections, i.e. `maxRedirections: 0` (the default)."
2022-05-18 19:02:22 +00:00
}
]
2022-07-21 04:00:46 +00:00
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 3.7,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp",
"refsource": "CONFIRM",
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp"
},
{
"name": "https://github.com/nodejs/undici/issues/872",
"refsource": "MISC",
"url": "https://github.com/nodejs/undici/issues/872"
},
{
"name": "https://hackerone.com/reports/1635514",
"refsource": "MISC",
"url": "https://hackerone.com/reports/1635514"
2022-09-09 18:00:35 +00:00
},
{
"refsource": "CONFIRM",
"name": "https://security.netapp.com/advisory/ntap-20220909-0006/",
"url": "https://security.netapp.com/advisory/ntap-20220909-0006/"
2022-07-21 04:00:46 +00:00
}
]
},
"source": {
"advisory": "GHSA-q768-x9m6-m9qp",
"discovery": "UNKNOWN"
2022-05-18 19:02:22 +00:00
}
}