{"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"],"modified":"2026-03-20T12:36:49.600262Z","published":"2024-05-21T16:15:26.293Z","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"],"references":[{"type":"WEB","url":"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/PyMySQL/PyMySQL","events":[{"introduced":"0"},{"last_affected":"dbf1ff52a695278cd80e179641f67bb6e2a83326"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.1.0"}]}},{"type":"GIT","repo":"https://github.com/pymysql/pymysql","events":[{"introduced":"0"},{"fixed":"2cab9ecc641e962565c6254a5091f90c47f59b35"}]}],"versions":["0.6.7","0.7.0","0.7.1","0.7.2","pymysql-0.5","pymysql-0.6","pymysql-0.6.1","pymysql-0.6.2","pymysql-0.6.3","pymysql-0.6.4","pymysql-0.6.5","pymysql-0.6.6","v0.10.0","v0.10.1","v0.6.7","v0.7.0","v0.7.1","v0.7.10","v0.7.11","v0.7.2","v0.7.3","v0.7.4","v0.7.5","v0.7.6","v0.7.7","v0.7.8","v0.7.9","v0.8.0","v0.8.1","v0.9.0","v0.9.1","v0.9.2","v0.9.3","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.3rc1","v1.1.0","v1.1.0rc1","v1.1.0rc2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36039.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}