Information Exposure Affecting @nestjs/core package, versions <9.0.5


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.08% (32nd percentile)
Expand this section
NVD
5.3 medium

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-NESTJSCORE-2869127
  • published 5 Mar 2023
  • disclosed 13 Jun 2022
  • credit alexd6631

How to fix?

Upgrade @nestjs/core to version 9.0.5 or higher.

Overview

@nestjs/core is a Nest - modern, fast, powerful node.js web framework (@core)

Affected versions of this package are vulnerable to Information Exposure via the StreamableFile pipe. Exploiting this vulnerability is possible when the client cancels a request while it is streaming a StreamableFile, the stream wrapped by the StreamableFile will be kept open.