Improper Authorization Affecting undici package, versions <5.28.4 >=6.0.0 <6.11.1


0.0
low

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    User Interaction Required

    Threat Intelligence

    EPSS 0.04% (10th percentile)
Expand this section
SUSE
3.1 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-UNDICI-6564964
  • published 5 Apr 2024
  • disclosed 4 Apr 2024
  • credit Linzi Shang

How to fix?

Upgrade undici to version 5.28.4, 6.11.1 or higher.

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Improper Authorization due to improper handling of Proxy-Authorization headers during cross-origin redirects in certain methods. An attacker can exploit this behavior by inducing a victim to make a request that triggers a cross-origin redirect, potentially leaking sensitive information contained in the Proxy-Authorization header.