Security readout for executives and security teams
Plain-English summary
A Node.js HTTP client library, undici, could accidentally send application Cookie headers to another host during a cross-origin redirect. The default setting disables redirects, so default use is not exposed. Risk rises when applications enable redirects and send sensitive cookies through undici.
Executive priority
Treat as low urgency unless affected services enable redirects while sending sensitive cookies. Remediate through normal dependency update cycles and prioritize internet-facing services handling session or authentication cookies.
Technical view
In undici before 5.7.1, Authorization headers were cleared on cross-origin redirects, but Cookie headers were not. If redirects were enabled, a redirected request could carry cookies to a third-party or attacker-controlled target. The issue is patched in 5.7.1.
Likely exposure
Most exposure is in Node.js services using undici versions before 5.7.1 with redirects enabled and explicit Cookie headers. Default maxRedirections: 0 is stated as not exploitable.
Exploitation context
No active exploitation is supported by the provided sources; KEV is false. Practical abuse requires affected undici usage, redirects enabled, Cookie headers present, and a redirect path to a third-party or attacker-controlled destination.
Researcher notes
The core condition is header-clearing inconsistency during cross-origin redirects. Sources state the default is not exploitable. Evidence does not establish active exploitation, broad product impact, or mitigations beyond updating and disabling redirects.
Mitigation direction
- Upgrade undici to version 5.7.1 or later.
- Keep redirects disabled with maxRedirections: 0 where possible.
- Audit code for undici redirects combined with Cookie headers.
- Check vendor advisories for bundled or downstream undici usage.
Validation and detection
- Inventory dependency trees for undici versions below 5.7.1.
- Review runtime configuration for enabled redirects.
- Inspect request-building code for explicit Cookie header use.
- Confirm updated packages are deployed in production artifacts.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-601: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31151 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Low
- CVSS
- 3.7 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N2.21.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
3.7LowVector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qpCVE reference · x_refsource_CONFIRM
- https://github.com/nodejs/undici/issues/872CVE reference · x_refsource_MISC
- https://hackerone.com/reports/1635514CVE reference · x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220909-0006/CVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
