{"id":"CVE-2024-36039","details":"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.","aliases":["GHSA-v9hf-5j83-6xpp","PYSEC-2026-502"],"modified":"2026-08-12T03:51:39.342972725Z","published":"2024-05-21T00:00:00Z","related":["ALSA-2024:4244","ALSA-2024:4245","ALSA-2024:9193","ALSA-2024:9194","CGA-4c7g-5f83-578x","RLSA-2024:9194","SUSE-SU-2024:1855-1","SUSE-SU-2024:1925-1","openSUSE-SU-2024:13993-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36039.json"},"references":[{"type":"WEB","url":"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36039.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36039"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pymysql/pymysql","events":[{"introduced":"0"},{"fixed":"dbf1ff52a695278cd80e179641f67bb6e2a83326"},{"fixed":"2cab9ecc641e962565c6254a5091f90c47f59b35"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.1.0"}]}}],"versions":["v1.1.0","v1.1.0rc2","v1.1.0rc1","v1.0.3","v1.0.3rc1","v1.0.2","v1.0.1","v1.0.0","v0.10.1","v0.10.0","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.1","v0.8.0","v0.7.11","v0.7.10","v0.7.9","v0.7.8","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","0.7.2","v0.7.1","0.7.1","v0.7.0","0.7.0","v0.6.7","0.6.7","pymysql-0.6.6","pymysql-0.6.5","pymysql-0.6.4","pymysql-0.6.3","pymysql-0.6.2","pymysql-0.6.1","pymysql-0.6","pymysql-0.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36039.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}