MediumGHSA-4jpv-8r57-pv7jCVE-2023-26108

@nestjs/core vulnerable to Information Exposure via StreamableFile pipe

Published 6 Mar 2023 · Updated 8 Nov 2023

Affected package

Affected
<9.0.5
Fixed in
9.0.5
Update to the fixed version for your release line, for example: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.

Is GHSA-4jpv-8r57-pv7j in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected @nestjs/core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.