DoS_by_Sleep issue exists @ projects/capture_screenshot/screenshot.py in branch master
Method parser.parse_args at line 12 of projects\capture_screenshot\screenshot.py gets user input for the parse_args element. This element’s value is eventually used to define the application’s ‘sleep’ period, in time.sleep at line 37 of projects\capture_screenshot\screenshot.py. This may enable a DoS by Sleep attack.Similarity ID: -1117934017
DoS_by_Sleep issue exists @ projects/capture_screenshot/screenshot.py in branch master
Method parser.parse_args at line 12 of projects\capture_screenshot\screenshot.py gets user input for the parse_args element. This element’s value is eventually used to define the application’s ‘sleep’ period, in time.sleep at line 37 of projects\capture_screenshot\screenshot.py. This may enable a DoS by Sleep attack.Similarity ID: -1117934017
Severity: Medium
CWE:834
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training Recommended Fix
Lines: 12
Code (Line #12):