Name | CVE-2024-36039 |
Description | PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3822-1, DSA-5700-1, ELA-1100-1 |
Debian Bugs | 1071628 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-pymysql (PTS) | stretch (lts), stretch | 0.7.10-1+deb9u1 | fixed |
buster (security), buster, buster (lts) | 0.9.3-1+deb10u1 | fixed | |
bullseye (security), bullseye | 0.9.3-2+deb11u1 | fixed | |
bookworm (security), bookworm | 1.0.2-2+deb12u1 | fixed | |
sid, trixie | 1.1.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-pymysql | source | stretch | 0.7.10-1+deb9u1 | ELA-1100-1 | ||
python-pymysql | source | buster | 0.9.3-1+deb10u1 | DLA-3822-1 | ||
python-pymysql | source | bullseye | 0.9.3-2+deb11u1 | DSA-5700-1 | ||
python-pymysql | source | bookworm | 1.0.2-2+deb12u1 | DSA-5700-1 | ||
python-pymysql | source | (unstable) | 1.1.1-1 | 1071628 |
https://github.com/advisories/GHSA-v9hf-5j83-6xpp
https://github.com/PyMySQL/PyMySQL/commit/521e40050cb386a499f68f483fefd144c493053c (v1.1.1)