Permissive Cross-domain Policy with Untrusted Domains Affecting undici package, versions <5.28.3>=6.0.0 <6.6.1


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (52nd 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 Learn

Learn about Permissive Cross-domain Policy with Untrusted Domains vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UNDICI-6252336
  • published18 Feb 2024
  • disclosed16 Feb 2024
  • creditUnknown

Introduced: 16 Feb 2024

CVE-2024-24758  (opens in a new tab)
CWE-942  (opens in a new tab)

How to fix?

Upgrade undici to version 5.28.3, 6.6.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 Permissive Cross-domain Policy with Untrusted Domains due to not clearing Proxy-Authentication headers on cross-origin redirects. An attacker can intercept the improperly cleared headers.

CVSS Base Scores

version 3.1