CVE-2024-52793
The Deno Standard Library provides APIs for Deno and the Web. Prior …
The Deno Standard Library provides APIs for Deno and the Web. Prior to version 1.0.11, `http/file-server`'s `serveDir` with `showDirListing: true` option is vulnerable to cross-site scripting when the attacker is a user who can control file names in the source directory on systems with POSIX file names. Exploitation might also be possible on other systems but less trivial due to e.g. lack of file name support for `<>` in Windows. Version 1.0.11 fixes the issue.
What to do now
- Check your exposureFind out whether the affected software 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/denoland/std/blob/065296ca5a05a47f9741df8f99c32fae4f960070/http/file_server.ts#
- github.com/denoland/std/blob/065296ca5a05a47f9741df8f99c32fae4f960070/http/file_server.ts#
- github.com/denoland/std/security/advisories/GHSA-32fx-h446-h8pf
- nvd.nist.gov/vuln/detail/CVE-2024-52793
- cve.org/CVERecord?id=CVE-2024-52793
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.