Bug #73611 | Exception when data object (dict) contains string with existing field name | ||
---|---|---|---|
Submitted: | 16 Aug 2014 11:53 | Modified: | 22 Mar 2017 18:25 |
Reporter: | Сергей Столяров | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 1.2.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Aug 2014 11:53]
Сергей Столяров
[16 Aug 2014 11:55]
Сергей Столяров
Forgot to attach error message: mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxx %(f1)s yyy' yyy', 'xxx %(f2)s yyy', 'xxx %(f1)s yyy')' at line 1
[22 Aug 2014 8:24]
Peeyush Gupta
Thanks for the bug report. Verified as described through code analysis.
[22 Mar 2017 18:25]
Paul DuBois
Posted by developer: Noted in 2.1.4 changelog. A potential SQL injection vector was eliminated.