-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernsarea/pythonInvolves the Python code in qsimInvolves the Python code in qsimcontributors welcomeHelp with this would be appreciatedHelp with this would be appreciatedpriority/p2Medium priorityMedium priority
Milestone
Description
Describe the issue
CodeQL scanning reports a vulnerability in setup.py: https://github.com/quantumlib/qsim/security/code-scanning/51
if not os.path.exists(self.build_temp):
os.makedirs(self.build_temp)
subprocess.check_call(
["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp, env=envThe check_call may allow the user to execute malicious code.
What version of qsim are you using?
0.23.0.dev0
How can the issue be reproduced?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/healthInvolves general matters of project configuration, health, maintenance, and similar concernsInvolves general matters of project configuration, health, maintenance, and similar concernsarea/pythonInvolves the Python code in qsimInvolves the Python code in qsimcontributors welcomeHelp with this would be appreciatedHelp with this would be appreciatedpriority/p2Medium priorityMedium priority
Type
Projects
Status
No status