CVE-2024-36039
python3-pymysql: PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSONinput because keys are not escaped by escape_dict.
CVE-2024-36039 is fixed in 7 products on 1 platform, first by python3-pymysql 0.9.3-2ubuntu3.1, released May 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.
Routine
CVSS
6.3
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0069
53rd percentile
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSONinput because keys are not escaped by escape_dict.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| python-PyMySQL · opensuse-leap 15.6 | 1.1.0-150600.3.3.1 | SUSE-SU-2024:1925-1 | Jun 5, 2024 |
| python-PyMySQL · sles 15.6 | 0.7.11-150000.3.3.1 | SUSE-SU-2024:1855-1 | May 30, 2024 |
| python-pymysql · Debian 11.6 (bullseye) | 0.9.3-2+deb11u1 | DSA-5700-1 | May 29, 2024 |
| python-pymysql · Debian 12.15 (bookworm) | 1.0.2-2+deb12u1 | DSA-5700-1 | May 29, 2024 |
| python-pymysql · Debian 13.5 (trixie) | 1.1.1-1 | DEBIAN-CVE-2024-36039 | May 21, 2024 |
| python-pymysql · Debian 14 | 1.1.1-1 | DEBIAN-CVE-2024-36039 | May 21, 2024 |
| python3-pymysql · Ubuntu 20.04 LTS (focal) | 0.9.3-2ubuntu3.1 | python3-pymysql 0.9.3-2ubuntu3.1 | May 21, 2024 |
| python3-pymysql · Ubuntu 22.04.1 LTS (jammy) | 1.0.2-1ubuntu1.22.04.1 | python3-pymysql 1.0.2-1ubuntu1.22.04.1 | May 21, 2024 |
| python3-pymysql · Ubuntu 24.04.5 LTS (noble) | 1.0.2-2ubuntu1.1 | python3-pymysql 1.0.2-2ubuntu1.1 | May 21, 2024 |
| python3-pymysql · Ubuntu 24.10 (oracular) | 1.1.1-1ubuntu1 | python3-pymysql 1.1.1-1ubuntu1 | Jan 16, 2026 |
| python3-pymysql · Ubuntu 25.04 (plucky) | 1.1.1-1ubuntu1 | python3-pymysql 1.1.1-1ubuntu1 | Jan 16, 2026 |
| python3.11-PyMySQL · RHEL 8 | 0:1.0.2-2.el8_10 | RHSA-2024:4244 | Jul 2, 2024 |
| python3.11-PyMySQL · RHEL 9 | 0:1.0.2-2.el9 | RHSA-2024:9194 | Nov 12, 2024 |
| python3.11-PyMySQL · almalinux 8 | 1.0.2-2.el8_10 | ALSA-2024:4244 | Jul 2, 2024 |
| python3.11-PyMySQL · almalinux 9 | 1.0.2-2.el9 | ALSA-2024:9194 | Nov 12, 2024 |
| python3.11-PyMySQL · ol 8 | 0:1.0.2-2.el8_10 | ELSA-2024-4244 | Jul 2, 2024 |
| python3.11-PyMySQL · ol 9 | 0:1.0.2-2.el9 | ELSA-2024-9194 | Nov 14, 2024 |
| python3.11-PyMySQL · rocky 8 | 0:1.0.2-2.el8_10 | RLSA-2024:4244 | May 7, 2025 |
| python3.11-PyMySQL · rocky 9 | 0:1.0.2-2.el9 | RLSA-2024:9194 | Mar 17, 2025 |
| python3.11-PyMySQL+rsa · RHEL 9 | 0:1.0.2-2.el9 | RHSA-2024:9194 | Nov 12, 2024 |
| python3.11-PyMySQL+rsa · almalinux 9 | 1.0.2-2.el9 | ALSA-2024:9194 | Nov 12, 2024 |
| python3.11-PyMySQL+rsa · ol 9 | 0:1.0.2-2.el9 | ELSA-2024-9194 | Nov 14, 2024 |
| python3.12-PyMySQL · RHEL 8 | 0:1.1.0-3.el8_10 | RHSA-2024:4245 | Jul 2, 2024 |
| python3.12-PyMySQL · RHEL 9 | 0:1.1.0-3.el9 | RHSA-2024:9193 | Nov 12, 2024 |
| python3.12-PyMySQL · almalinux 8 | 1.1.0-3.el8_10 | ALSA-2024:4245 | Jul 2, 2024 |
| python3.12-PyMySQL · almalinux 9 | 1.1.0-3.el9 | ALSA-2024:9193 | Nov 12, 2024 |
| python3.12-PyMySQL · ol 8 | 0:1.1.0-3.el8_10 | ELSA-2024-4245 | Jul 3, 2024 |
| python3.12-PyMySQL · ol 9 | 0:1.1.0-3.el9 | ELSA-2024-9193 | Nov 14, 2024 |
| python3.12-PyMySQL · rocky 8 | 0:1.1.0-3.el8_10 | RLSA-2024:4245 | May 7, 2025 |
| python3.12-PyMySQL · rocky 9 | 0:1.1.0-3.el9 | RLSA-2024:9193 | Mar 17, 2025 |
| python3.12-PyMySQL+rsa · RHEL 9 | 0:1.1.0-3.el9 | RHSA-2024:9193 | Nov 12, 2024 |
| python3.12-PyMySQL+rsa · almalinux 9 | 1.1.0-3.el9 | ALSA-2024:9193 | Nov 12, 2024 |
| python3.12-PyMySQL+rsa · ol 9 | 0:1.1.0-3.el9 | ELSA-2024-9193 | Nov 14, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.