)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"67c217b45c594d2f1f29e10450f3f19ecd0d1510","unresolved":false,"context_lines":[{"line_number":11,"context_line":"injection vulnerability if called with untrusted input.  This"},{"line_number":12,"context_line":"commit also checks paramiko.invoke_shell, which may be similarly"},{"line_number":13,"context_line":"vulnerable."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I51ce997073eae94c910483790f172afdbf407e7e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"fa32b979_b2d921f5","line":14,"updated":"2015-06-18 20:38:48.000000000","message":"Was there a  bug associated with this?","commit_id":"ac4ff2a6a7535a46d0813b10f81830fa0499b0bc"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"238fe491105a84536ab61d76ecb2c3ca95e9afdc","unresolved":false,"context_lines":[{"line_number":11,"context_line":"injection vulnerability if called with untrusted input.  This"},{"line_number":12,"context_line":"commit also checks paramiko.invoke_shell, which may be similarly"},{"line_number":13,"context_line":"vulnerable."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I51ce997073eae94c910483790f172afdbf407e7e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"fa32b979_92617d07","line":14,"in_reply_to":"fa32b979_b2d921f5","updated":"2015-06-18 20:41:50.000000000","message":"There probably are, but this was brought to my attention by some source review one of our penetration testers was working on.","commit_id":"ac4ff2a6a7535a46d0813b10f81830fa0499b0bc"}],"bandit/config/bandit.yaml":[{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"5ddab1008b5f384601cab33f3d58ab65847103a9","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            message: \"Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.\""},{"line_number":79,"context_line":"        - paramiko_exec_command:"},{"line_number":80,"context_line":"            qualnames: [paramiko.exec_command]"},{"line_number":81,"context_line":"            message: \"Paramiko command execution uses shell.  Check for command injection vulnerabilities.\""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"shell_injection:"},{"line_number":84,"context_line":"    # Start a process using the subprocess module, or one of its wrappers."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa32b979_adf814c4","line":81,"updated":"2015-06-17 23:01:32.000000000","message":"Actually, paramiko.invoke_shell() uses a shell whereas exec_command does not.\n\nhttps://github.com/paramiko/paramiko/blob/54415207d186155afab6bd3a8571a70587a85fab/paramiko/channel.py#L180","commit_id":"a4d22e467eb1c6d316631f9fbe24f465624f01db"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"84930fbb1a30fe0bc31c446ab0ae889eebcfb32c","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            message: \"Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.\""},{"line_number":79,"context_line":"        - paramiko_exec_command:"},{"line_number":80,"context_line":"            qualnames: [paramiko.exec_command]"},{"line_number":81,"context_line":"            message: \"Paramiko command execution uses shell.  Check for command injection vulnerabilities.\""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"shell_injection:"},{"line_number":84,"context_line":"    # Start a process using the subprocess module, or one of its wrappers."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa32b979_bb3d87c5","line":81,"in_reply_to":"fa32b979_600aea8b","updated":"2015-06-18 17:39:07.000000000","message":"Shouldn\u0027t invoke_shell be added too?  Its strange that paramiko is using a shell with exec, because by SSH RFCs, exec is no shell.  But I\u0027d have to dive into their code.","commit_id":"a4d22e467eb1c6d316631f9fbe24f465624f01db"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"d72d57bc1fb8a4d1a7dea83871562eb215246cfd","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            message: \"Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.\""},{"line_number":79,"context_line":"        - paramiko_exec_command:"},{"line_number":80,"context_line":"            qualnames: [paramiko.exec_command]"},{"line_number":81,"context_line":"            message: \"Paramiko command execution uses shell.  Check for command injection vulnerabilities.\""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"shell_injection:"},{"line_number":84,"context_line":"    # Start a process using the subprocess module, or one of its wrappers."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa32b979_600aea8b","line":81,"in_reply_to":"fa32b979_80612ed5","updated":"2015-06-18 17:30:35.000000000","message":"Done","commit_id":"a4d22e467eb1c6d316631f9fbe24f465624f01db"},{"author":{"_account_id":11029,"name":"Jamie Finnigan","email":"jamiefinnigan@gmail.com","username":"jamiefinnigan"},"change_message_id":"ea6fe376f9bf268042e6a737209ddd745d9f866a","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            message: \"Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.\""},{"line_number":79,"context_line":"        - paramiko_exec_command:"},{"line_number":80,"context_line":"            qualnames: [paramiko.exec_command]"},{"line_number":81,"context_line":"            message: \"Paramiko command execution uses shell.  Check for command injection vulnerabilities.\""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"shell_injection:"},{"line_number":84,"context_line":"    # Start a process using the subprocess module, or one of its wrappers."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa32b979_80612ed5","line":81,"in_reply_to":"fa32b979_adf814c4","updated":"2015-06-18 17:19:14.000000000","message":"How about a message of \"Paramiko exec_command() usage may expose command injection vulnerabilities and should be reviewed.\"?","commit_id":"a4d22e467eb1c6d316631f9fbe24f465624f01db"}]}
