CVE-2023-26108
Nestjs Nest vulnerability
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.
Affected products
Nest. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nestjs Nest runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nestjs/nest/pull/9819 · Patch
- github.com/nestjs/nest/pull/9819/commits/f59cf5e81ca73bcdf1b5b36713550fd93918db41 · Patch
- github.com/nestjs/nest/issues/9759 · Exploit
- security.snyk.io/vuln/SNYK-JS-NESTJSCORE-2869127 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-26108
- cve.org/CVERecord?id=CVE-2023-26108
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.