Skip to content

Conversation

zalesky
Copy link

@zalesky zalesky commented Jun 18, 2025

Tested on node v22.16.0 (npm v10.9.2)
Closes #93

This PR updates the affected package to address a known security vulnerability, ensuring it is safe to use within the project.

🔒 Security Information
• Vulnerability type: Missing Release of Resource after Effective Lifetime
• Severity:
• Snyk CVSS v3.1: 6.2 (Medium)
• NVD: No CVE assigned yet
• Source: Snyk

🧠 Details

The vulnerability is caused by the makeres function failing to properly delete keys from the reqs object after callbacks are executed. This leads to a memory leak which can cause resource exhaustion, resulting in a Node.js process crash.
• The issue exists in a non-maintained library
• There is no official fix
• Several dependent packages have resolved the issue by removing the dependency

✅ Resolution

This PR updates the dependency to a safe or patched version (or eliminates the vulnerable package if that’s the case), which resolves the issue and allows continued use without exposure to the vulnerability.

🛡️ Impact
• Fixes memory leak vulnerability
• Reduces risk of application crash due to resource exhaustion
• Required for safe package usage in production

@zalesky
Copy link
Author

zalesky commented Jun 18, 2025

@hipstersmoothie @Cloud2Software Please review and merge this PR.
This vulnerability prevents downstream projects from safely using the package.
If possible, publishing a new version after merging would be greatly appreciated. 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inflight has been deprecated
1 participant