CVE-2024-36039

python-pymysql: SQL injection if used with untrusted JSON input

Published May 21, 2024 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3822-1 python-pymysql security update
Debian DSA Debian DSA DSA-5700-1 python-pymysql security update
Github GHSA Github GHSA GHSA-v9hf-5j83-6xpp PyMySQL SQL Injection vulnerability
Ubuntu USN Ubuntu USN USN-6801-1 PyMySQL vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 21, 2024, 3:27 PM
Reserved
May 18, 2024, 12:00 AM
Status
Deferred
Published
May 21, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:36 AM
Severity
Moderate
Public date
May 21, 2024, 12:00 AM