-
-
Notifications
You must be signed in to change notification settings - Fork 20
Memory leak detected in version 1.0.6 by veracode #18
Comments
Any update on this vulnarability? |
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. |
Also wondering if this issue persists? Looks like glob up to glob@9 depends on inflight and other packages in our project depend on glob@<9 so we are stuck with the memory leak warnings in CI |
Hello, any update on this? |
veracode detected a memory leak vulnerability @1.0.6 |
Is this repo dead? |
In isaacs/node-glob#435 @isaacs mentioned that newer versions of glob >= 9 no longer use Sadly, this may not be an option for projects with other transitive dependencies (npmjs.com lists 1628 dependents: https://www.npmjs.com/package/inflight?activeTab=dependents ). Unfortunately, in the mean-time applications that transitively use this library would need to determine how they are using this library to determine if they are vulnerable. It looks like @GreihMurray has been working on using an arbitrary limit of 500 concurrent requests: main...GreihMurray:inflight-fork:main . Maybe someone else (more familiar with how this is used) could help out here and provide a PR / fixed fork? |
I've done a few basic tests to try and remedy this with no success. 500 was an arbitrary number which I just selected more or less at random while testing. Unfortunately I am unable to get it to work and would agree that the best practice is likely upgrade other dependencies as possible |
…ersion. Addressed a security vulnerability linked to older versions of the `glob` package, as discussed in isaacs/inflight-DEPRECATED-DO-NOT-USE#18. By setting the `glob` version to `10.3.10` in the overrides section of backend `package.json` file, this commit resolves the issue by ensuring a safer updated version of `glob` is used throughout the project. Signed-off-by: Nikolay Martyanov <[email protected]>
…version. Addressed a security vulnerability linked to older versions of the `glob` package, as discussed in isaacs/inflight-DEPRECATED-DO-NOT-USE#18. By setting the `glob` version to `10.3.10` in the overrides section of frontend `package.json` file, this commit resolves the issue by ensuring a safer updated version of `glob` is used throughout the project. Signed-off-by: Nikolay Martyanov <[email protected]>
…ersion. Addressed a security vulnerability linked to older versions of the `glob` package, as discussed in isaacs/inflight-DEPRECATED-DO-NOT-USE#18. By setting the `glob` version to `10.3.10` in the overrides section of backend `package.json` file, this commit resolves the issue by ensuring a safer updated version of `glob` is used throughout the project. Signed-off-by: Nikolay Martyanov <[email protected]>
…version. Addressed a security vulnerability linked to older versions of the `glob` package, as discussed in isaacs/inflight-DEPRECATED-DO-NOT-USE#18. By setting the `glob` version to `10.3.10` in the overrides section of frontend `package.json` file, this commit resolves the issue by ensuring a safer updated version of `glob` is used throughout the project. Signed-off-by: Nikolay Martyanov <[email protected]>
If anyone is seeing this transitively due to usage of pino-pretty, I entered an issue there: And related PR to fix: Please give those a thumbs up if you are affected. Thanks! |
Any update on this? |
@0xSmiley No |
Veracode has detected a memory leak vulnerability
The text was updated successfully, but these errors were encountered: