Open-source package vulnerability · PyPI
CVE-2024-36039: PyMySQL SQL Injection vulnerability
criticalCVSS 3.1 9.8GHSA-v9hf-5j83-6xpp
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escapedict.
Published May 21, 2024 · Updated Jun 24, 2024
Affected packages
pymysql
- Ecosystem
- PyPI
- Affected
- < 1.1.1
- Fixed in
- 1.1.1
- Check
pip show pymysql
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-36039
- https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1
- https://github.com/PyMySQL/PyMySQL/commit/521e40050cb386a499f68f483fefd144c493053c
- https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5
- https://github.com/advisories/GHSA-v9hf-5j83-6xpp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
