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.5Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26108[ADVISORY]
- https://github.com/nestjs/nest/issues/9759[WEB]
- https://github.com/nestjs/nest/pull/9819[WEB]
- https://github.com/nestjs/nest/pull/9819/commits/f59cf5e81ca73bcdf1b5b36713550fd93918db41[WEB]
- https://github.com/nestjs/nest[PACKAGE]
- https://security.snyk.io/vuln/SNYK-JS-NESTJSCORE-2869127[WEB]