VDB
Sign up
MEDIUM5.3

GHSA-4jpv-8r57-pv7j

@nestjs/core vulnerable to Information Exposure via StreamableFile pipe

Quick fix

GHSA-4jpv-8r57-pv7j — @nestjs/core: upgrade to the fixed version with the command below.

npm install @nestjs/core@9.0.5

Details

Versions of the package @nestjs/core before 9.0.5 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@nestjs/core
Introduced in: 0Fixed in: 9.0.5
Fixnpm install @nestjs/core@9.0.5

References