Surnet/swagger-jsdoc

vulnerability issue with inflight @1.0.6

KusumaShekarN opened this issue ยท 5 comments

The package inflight @1.0.6 is been identified as a vulnerble which is used as a dependency for glob @7.1.6.

The description for the issue is been reported as follows,
In npm inflight there is a memory leak because some resources are not freed correctly after being used. It appears to affect all versions.

Please consider the attachment for the details.
image

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Have also had this flagged in a project. I believe that upgrading glob to > v9 should resolve the issue as they removed inflight isaacs/inflight-DEPRECATED-DO-NOT-USE#5

I can potentially help on this

Snyk is also picking this one up.
Any hopes of fixing?

This issue has been hanging for 3 years now.
Will this get fixed any time soon?

Installing swagger gives:

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

and npm ls inflight gives:

โ””โ”€โ”ฌ swagger-jsdoc@6.2.8
  โ””โ”€โ”ฌ glob@7.1.6
    โ””โ”€โ”€ inflight@1.0.6

Created PR #400 to bump glob to v11.0.0
Hopefully it gets looked at.