Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36039

published medium CVSS 3.1 · 6.3

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

Title from Red Hat VEX

Published
21 May 2024, 00:00:00 UTC
Updated
21 Nov 2024, 15:27:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
AlmaLinux 8 python3.11-PyMySQL Advisory build 1.0.2-2.el8_10 ALSA-2024:4244
Debian bookworm python-pymysql Advisory build 1.0.2-2+deb12u1 DSA-5700-1
Oracle Linux 8 python3.11-PyMySQLaarch64 Advisory build 0:1.0.2-2.el8_10 ELSA-2024-4244
Red Hat Enterprise Linux RHEL-8 python3.11-PyMySQLnoarch Advisory build 1.0.2-2.el8_10 RHSA-2024:4244
SUSE / openSUSE SLE-15-SP5 python3-PyMySQLnoarch Advisory build 0.7.11-150000.3.3.1 SUSE-SU-2024:1855-1
Ubuntu focal python-pymysql Advisory build 0.9.3-2ubuntu3.1 USN-6801-1
Rocky Linux 8 python3.11-PyMySQLnoarch Listed in advisory Not stated RLSA-2024:4244
Show 64 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 python3.12-PyMySQL Advisory build 1.1.0-3.el8_10 ALSA-2024:4245
AlmaLinux 9 python3.11-PyMySQL Advisory build 1.0.2-2.el9 ALSA-2024:9194
AlmaLinux 9 python3.11-PyMySQL+rsa Advisory build 1.0.2-2.el9 ALSA-2024:9194
AlmaLinux 9 python3.12-PyMySQL Advisory build 1.1.0-3.el9 ALSA-2024:9193
AlmaLinux 9 python3.12-PyMySQL+rsa Advisory build 1.1.0-3.el9 ALSA-2024:9193
Debian bullseye python-pymysql Advisory build 0.9.3-2+deb11u1 DSA-5700-1
Debian buster python-pymysql Advisory build 0.9.3-1+deb10u1 DLA-3822-1
Oracle Linux 8 python3.11-PyMySQLx86_64 Advisory build 0:1.0.2-2.el8_10 ELSA-2024-4244
Oracle Linux 8 python3.12-PyMySQLaarch64 Advisory build 0:1.1.0-3.el8_10 ELSA-2024-4245
Oracle Linux 8 python3.12-PyMySQLx86_64 Advisory build 0:1.1.0-3.el8_10 ELSA-2024-4245
Oracle Linux 9 python3.11-PyMySQLaarch64 Advisory build 0:1.0.2-2.el9 ELSA-2024-9194
Oracle Linux 9 python3.11-PyMySQLx86_64 Advisory build 0:1.0.2-2.el9 ELSA-2024-9194
Oracle Linux 9 python3.11-PyMySQL+rsaaarch64 Advisory build 0:1.0.2-2.el9 ELSA-2024-9194
Oracle Linux 9 python3.11-PyMySQL+rsax86_64 Advisory build 0:1.0.2-2.el9 ELSA-2024-9194
Oracle Linux 9 python3.12-PyMySQLaarch64 Advisory build 0:1.1.0-3.el9 ELSA-2024-9193
Oracle Linux 9 python3.12-PyMySQLx86_64 Advisory build 0:1.1.0-3.el9 ELSA-2024-9193
Oracle Linux 9 python3.12-PyMySQL+rsaaarch64 Advisory build 0:1.1.0-3.el9 ELSA-2024-9193
Oracle Linux 9 python3.12-PyMySQL+rsax86_64 Advisory build 0:1.1.0-3.el9 ELSA-2024-9193
Red Hat Enterprise Linux RHEL-8 python3.11-PyMySQLsrc Advisory build 1.0.2-2.el8_10 RHSA-2024:4244
Red Hat Enterprise Linux RHEL-8 python3.12-PyMySQLnoarch Advisory build 1.1.0-3.el8_10 RHSA-2024:4245
Red Hat Enterprise Linux RHEL-8 python3.12-PyMySQLsrc Advisory build 1.1.0-3.el8_10 RHSA-2024:4245
Red Hat Enterprise Linux RHEL-9 python3.11-PyMySQLnoarch Advisory build 1.0.2-2.el9 RHSA-2024:9194
Red Hat Enterprise Linux RHEL-9 python3.11-PyMySQLsrc Advisory build 1.0.2-2.el9 RHSA-2024:9194
Red Hat Enterprise Linux RHEL-9 python3.11-PyMySQL+rsanoarch Advisory build 1.0.2-2.el9 RHSA-2024:9194
Red Hat Enterprise Linux RHEL-9 python3.12-PyMySQLnoarch Advisory build 1.1.0-3.el9 RHSA-2024:9193
Red Hat Enterprise Linux RHEL-9 python3.12-PyMySQLsrc Advisory build 1.1.0-3.el9 RHSA-2024:9193
Red Hat Enterprise Linux RHEL-9 python3.12-PyMySQL+rsanoarch Advisory build 1.1.0-3.el9 RHSA-2024:9193
SUSE / openSUSE SLE-15-SP6 python3-PyMySQLnoarch Advisory build 0.7.11-150000.3.3.1 SUSE-SU-2024:1855-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-PyMySQLnoarch Advisory build 0.7.11-150000.3.3.1 SUSE-SU-2024:1855-1
SUSE / openSUSE openSUSE-Leap-15.6 python311-PyMySQLnoarch Advisory build 1.1.0-150600.3.3.1 SUSE-SU-2024:1925-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyMySQLaarch64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyMySQLppc64le Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyMySQLs390x Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python310-PyMySQLx86_64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyMySQLaarch64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyMySQLppc64le Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyMySQLs390x Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python311-PyMySQLx86_64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyMySQLaarch64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyMySQLppc64le Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyMySQLs390x Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python312-PyMySQLx86_64 Advisory build 1.1.1-1.1 OPENSUSE-SU-2024:13993-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyMySQLaarch64 Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyMySQLppc64le Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyMySQLs390x Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python313-PyMySQLx86_64 Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python314-PyMySQLaarch64 Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python314-PyMySQLppc64le Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python314-PyMySQLs390x Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
SUSE / openSUSE openSUSE-Tumbleweed python314-PyMySQLx86_64 Advisory build 1.2.0-1.2 OPENSUSE-SU-2026:11995-1
Ubuntu focal python3-pymysql Advisory build 0.9.3-2ubuntu3.1 USN-6801-1
Ubuntu jammy python-pymysql Advisory build 1.0.2-1ubuntu1.22.04.1 USN-6801-1
Ubuntu jammy python3-pymysql Advisory build 1.0.2-1ubuntu1.22.04.1 USN-6801-1
Ubuntu noble python-pymysql Advisory build 1.0.2-2ubuntu1.1 USN-6801-1
Ubuntu noble python3-pymysql Advisory build 1.0.2-2ubuntu1.1 USN-6801-1
Rocky Linux 8 python3.11-PyMySQLsrc Listed in advisory Not stated RLSA-2024:4244
Rocky Linux 8 python3.12-PyMySQLnoarch Listed in advisory Not stated RLSA-2024:4245
Rocky Linux 8 python3.12-PyMySQLsrc Listed in advisory Not stated RLSA-2024:4245
Rocky Linux 9 python3.11-PyMySQLnoarch Listed in advisory Not stated RLSA-2024:9194
Rocky Linux 9 python3.11-PyMySQLsrc Listed in advisory Not stated RLSA-2024:9194
Rocky Linux 9 python3.11-PyMySQL+rsanoarch Listed in advisory Not stated RLSA-2024:9194
Rocky Linux 9 python3.12-PyMySQLnoarch Listed in advisory Not stated RLSA-2024:9193
Rocky Linux 9 python3.12-PyMySQLsrc Listed in advisory Not stated RLSA-2024:9193
Rocky Linux 9 python3.12-PyMySQL+rsanoarch Listed in advisory Not stated RLSA-2024:9193

Description

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

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.3 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

2
  • n/a (mitre · cna)
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CISA-ADP · adp)

References

4

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
89b619a41ed15f1a5eedff7d9d3f9f0e3f1976dba7cf6173b7d321296241c00b
Ingested
23 Sep 2026, 08:24:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected