CVE-2022-31151

CVSS V2 None CVSS V3 Medium 6.5
Description
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).
Overview
  • CVE ID
  • CVE-2022-31151
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-07-21T04:15:12
  • Last Modified Date
  • 2022-09-29T15:40:23
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* 1 OR 5.7.1
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 6.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 3.9
  • Impact Score
  • 2.5
References
Reference URL Reference Tags
https://github.com/nodejs/undici/issues/872 Exploit Issue Tracking Third Party Advisory
https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp Third Party Advisory
https://hackerone.com/reports/1635514 Permissions Required Third Party Advisory
https://security.netapp.com/advisory/ntap-20220909-0006/ Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-07-21 05:00:06 Added to TrackCVE