PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36039.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.1.0"
}
],
"source": "DESCRIPTION"
},
{
"original_tag": "v1.1.1",
"range": [
{
"fixed": "2cab9ecc641e962565c6254a5091f90c47f59b35"
}
],
"source": "REFERENCES_TAG"
}
]
}