Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 fixed Vulnerability in the code - BrowserStack #873

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

priyanshukumar397
Copy link

@priyanshukumar397 priyanshukumar397 commented Sep 22, 2024

Summary:
The NPM Package code (package.json) is affected with CWE-772

CWE Details:
CWE-772: Missing Release of Resource after Effective Lifetime

Severity:
Medium

Description:
The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.

Extended Description:
When a resource is not released after use, it can allow attackers to cause a denial of service by causing the allocation of resources without triggering their release. Frequently-affected resources include memory, CPU, disk space, power or battery, etc.

Changes Applied:
Updated packages vulnerable versions used in the code.

==================================================================================

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the makeres function due to improperly deleting keys from the reqs object after execution of callbacks. This behavior causes the keys to remain in the reqs object, which leads to resource exhaustion.

Exploiting this vulnerability results in crashing the node process or in the application crash.

Note: This library is not maintained, and currently, there is no fix for this issue. To overcome this vulnerability, several dependent packages have eliminated the use of this library.

To trigger the memory leak, an attacker would need to have the ability to execute or influence the asynchronous operations that use the inflight module within the application. This typically requires access to the internal workings of the server or application, which is not commonly exposed to remote users. Therefore, “Attack vector” is marked as “Local”.

Detailed paths:

snyk-bot and others added 2 commits September 22, 2024 11:43
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
…3b025ae969570b8ad

[Snyk] Fix for 1 vulnerabilities
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.

2 participants