Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-31151 Details

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).

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-346Origin Validation Error[email protected]
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]

Affected Products

ProductVersions
nodejs undici
< 5.7.1

CPE

  • cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-31151
NVD Published Date:
Jul 21, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-31151 Details - Not Deferred