SQL Injection Affecting python3.12-PyMySQL package, versions <0:1.1.0-3.el9


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.69% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-PYTHON312PYMYSQL-10189352
  • published21 May 2025
  • disclosed21 May 2024

Introduced: 21 May 2024

CVE-2024-36039  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade RHEL:9 python3.12-PyMySQL to version 0:1.1.0-3.el9 or higher.
This issue was patched in RHSA-2024:9193.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-PyMySQL package and not the python3.12-PyMySQL package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

CVSS Base Scores

version 3.1