CVE-2024-36039
Critical 9.8No known exploitationFix availablePyMySQL SQL Injection vulnerability
Vendor advisory: GHSA-v9hf-5j83-6xpp
Record last updated
CVSS score
9.8
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
None
No EPSS score available
CISA remediation deadline
None
Not in the KEV catalog
Description
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
Weakness: CWE-89
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- lists.fedoraproject.org (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| pip | pymysql | all versions before 1.1.1 | 1.1.1 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- FEDORA-2024-b26f07d27b (opens in a new tab)vendor-advisory, x_transferred
- FEDORA-2024-e7141ab284 (opens in a new tab)vendor-advisory, x_transferred
- https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1 (opens in a new tab)x_transferred
- GitHub Advisory GHSA-v9hf-5j83-6xpp (opens in a new tab)github-advisory
- [debian-lts-announce] 20240527 [SECURITY] [DLA 3822-1] python-pymysql security update (opens in a new tab)mailing-list, x_transferred