Code Monkey home page Code Monkey logo

Comments (8)

mcollina avatar mcollina commented on June 29, 2024 2

If you land yourself here, don't worry: this module does not suffer from a memory leak, as the call to glob is used only once during startup.

from fastify-static.

jorgemlopez avatar jorgemlopez commented on June 29, 2024 1

@mabreuortega for visibility

from fastify-static.

mcollina avatar mcollina commented on June 29, 2024 1

This is fixed in @fastify/static v7

from fastify-static.

gurgunday avatar gurgunday commented on June 29, 2024

Version 9 only supports node 16+ and (AFAIK) it contains a blue-oak–licensed dependency

Edit: not sure if it's really a leak

from fastify-static.

Uzlopak avatar Uzlopak commented on June 29, 2024

Reading the sec vuln report it seems to be just non issue.

Memory Leak: inflight is vulnerable to a Memory Leak. The vulnerability is due to lack of restrictions on how many callbacks the library can concurrently support, which can result in a NodeJS out of heap memory crash.

from fastify-static.

jorgemlopez avatar jorgemlopez commented on June 29, 2024

Snyk is reporting it as a High Risk issue based on:

https://cwe.mitre.org/data/definitions/772.html

https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

This is all due to the original issue reported: isaacs/inflight#5

from fastify-static.

jorgemlopez avatar jorgemlopez commented on June 29, 2024

Here is the closed issue in node-glob: isaacs/node-glob#435

from fastify-static.

epignosisx avatar epignosisx commented on June 29, 2024

Leaving this here for inspiration:

mcollina/help-me#19

from fastify-static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.