PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
{ "ubuntu_priority": "medium" }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "0.9.3-2ubuntu3.1", "binary_name": "python-pymysql-doc" }, { "binary_version": "0.9.3-2ubuntu3.1", "binary_name": "python3-pymysql" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.2-1ubuntu1.22.04.1", "binary_name": "python-pymysql-doc" }, { "binary_version": "1.0.2-1ubuntu1.22.04.1", "binary_name": "python3-pymysql" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.1.1-1ubuntu1", "binary_name": "python-pymysql-doc" }, { "binary_version": "1.1.1-1ubuntu1", "binary_name": "python3-pymysql" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.0.2-2ubuntu1.1", "binary_name": "python-pymysql-doc" }, { "binary_version": "1.0.2-2ubuntu1.1", "binary_name": "python3-pymysql" } ] }