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

Unchecked Input for Loop Condition #447

Open
AlexMiller998s opened this issue Mar 3, 2025 · 0 comments
Open

Unchecked Input for Loop Condition #447

AlexMiller998s opened this issue Mar 3, 2025 · 0 comments

Comments

@AlexMiller998s
Copy link

Risk Rating: Medium

Category Security: Misconfiguration

Description: The application performs some repetitive task in a loop, and defines the number of times to perform the loop according to user input. A very high value could cause the application to get stuck in the loop and to be unable to continue to other operations.

Impact: An attacker could input a very high value, potentially causing a denial of service (DoS).

Remediation:

Recommendation · Ideally, don’t base a loop on user-provided data. If it is necessary to do so, the user input must be first validated and its range should be limited.

Findings:
The following screenshot contains the finding related to this file
https://github.com/videojs/mux.js/blob/v7.1.0/lib/m2ts/metadata-stream.js#L187

Image
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

No branches or pull requests

1 participant