Information Exposure Affecting undici package, versions <5.8.0


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.13% (50th 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-2957529
  • published21 Jul 2022
  • disclosed21 Jul 2022
  • creditHaxatron

Introduced: 21 Jul 2022

CVE-2022-31151  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade undici to version 5.8.0 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 Information Exposure by not clearing cookie headers upon third party redirect.

Note: This is only exploitable when maxRedirections is changed from its default value of 0.

CVSS Scores

version 3.1