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


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

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 IDSNYK-JS-UNDICI-6564964
  • published5 Apr 2024
  • disclosed4 Apr 2024
  • creditLinzi Shang

Introduced: 4 Apr 2024

CVE-2024-30260  (opens in a new tab)
CWE-285  (opens in a new tab)

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.

CVSS Scores

version 3.1