🔒 Security: Vulnerability Detected in Dependency (NPM inflight) #4988
Labels
area: security
involving vulnerabilities
invalid
not something we need to work on, such as a non-reproducing issue or an external root cause
Prerequisites
faq
labelnode_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
I would like to report a high vulnerability that has been detected in one of the dependencies of Mocha. The vulnerability is present in the inflight package, specifically version 1.0.6. The vulnerability is classified as CWE-722: Missing Release of Resource after Effective Lifetime.
Package: inflight
Version: 1.0.6 (latest)
CWE: CWE-722 (Missing Release of Resource after Effective Lifetime)
Description: In NPM inflight there is a Memory Leak because some resources are not freed correctly after being used. It appears to affect all versions, as the issue was not addressed and no fix is found. NOTE: In the meantime, logdna-agent, a package that depends on inflight, has merged a commit to address this solely in their package (so it should be fixed in logdna-agent in versions 1.6.5 and later). Node-glob, a package that also depends on inflight, was also planning to address this by not using inflight after version 8 is released, but it is still being used.
Please note that I did not directly install or utilize inflight package. Instead, it is a dependency of the Mocha package I am currently using, specifically version 10.2.0.
I kindly request the necessary actions to be taken to address and remediate this vulnerability to ensure the security and stability of the mocha framework. If any further info is required, please let me know.
Thanks!
Additional Information
The text was updated successfully, but these errors were encountered: