| Name | CVE-2024-36039 |
| Description | PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3822-1, DSA-5700-1 |
| Debian Bugs | 1071628 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| python-pymysql (PTS) | bullseye (security), bullseye | 0.9.3-2+deb11u1 | fixed |
| bookworm, bookworm (security) | 1.0.2-2+deb12u1 | fixed |
| forky, sid, trixie | 1.1.1-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/advisories/GHSA-v9hf-5j83-6xpp
https://github.com/PyMySQL/PyMySQL/commit/521e40050cb386a499f68f483fefd144c493053c (v1.1.1)