Skip to main content
CVE-2024-36039VulnerabilityPublished Updated

Red Hat Security Advisory: python3.11-PyMySQL security update

Affects Red Hat python3.11-PyMySQLSource GCVE Database

0
Compare
Authoritative record:CVE-2024-36039· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 1 Nov 2026, 08:20 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIpymysqlpkg:pypi/pymysqlOther threatsAffected
  • <=1.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Red Hat has released an official security update for python3.11-PyMySQL in Red Hat Enterprise Linux 8 that fixes this SQL injection vulnerability. Users should apply the update as described in Red Hat advisory RHSA-2024:4244. Details on applying the update are available at https://access.redhat.com/articles/11258. No additional mitigation steps are indicated beyond applying the official patch.

Description

A SQL injection vulnerability (CVE-2024-36039) exists in the python3.11-PyMySQL package when it processes untrusted JSON input. PyMySQL is a pure-Python MySQL client library intended as a drop-in replacement for MySQLdb. This vulnerability could allow an attacker to execute arbitrary SQL commands if untrusted JSON input is used improperly. Red Hat has issued a security update for this issue in Red Hat Enterprise Linux 8. The update addresses the vulnerability by fixing the SQL injection flaw.

References

Community reviews

Loading reviews…