Description
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.
Remediation
References
https://github.com/nestjs/nest/issues/9759
https://github.com/nestjs/nest/pull/9819
https://github.com/nestjs/nest/pull/9819/commits/f59cf5e81ca73bcdf1b5b36713550fd93918db41
https://security.snyk.io/vuln/SNYK-JS-NESTJSCORE-2869127
Related Vulnerabilities
CVE-2023-44487 Vulnerability in maven package org.eclipse.jetty.http2:http2-common
CVE-2022-25869 Vulnerability in maven package org.webjars.bower:angular
CVE-2023-26920 Vulnerability in maven package org.webjars.npm:fast-xml-parser
CVE-2020-17519 Vulnerability in maven package org.apache.flink:flink-runtime_2.12
CVE-2022-23221 Vulnerability in maven package com.h2database:h2