Splunk SPLK-2001 Question Answer
Consider the following Python code snippet used in a Splunk add-on:
if not os.path.exists(full_path): self.doAction(full_path, header) else: f = open (full_path) oldORnew = f.readline().split(“,”) f.close()
An attacker could create a denial of service by causing an error in either the open() or readline()
commands. What type of vulnerability is this?