Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cab9ec

Browse files
committed
v1.1.1
1 parent 521e400 commit 2cab9ec

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77
* `db` and `passwd` will emit DeprecationWarning in v1.2. See #933.
88
* `Connection.ping(reconnect)` change the default to not reconnect.
99

10+
## v1.1.1
11+
12+
Release date: 2024-05-21
13+
14+
> [!WARNING]
15+
> This release fixes a vulnerability (CVE-2024-36039).
16+
> All users are recommended to update to this version.
17+
>
18+
> If you can not update soon, check the input value from
19+
> untrusted source has an expected type. Only dict input
20+
> from untrusted source can be an attack vector.
21+
22+
* Prohibit dict parameter for `Cursor.execute()`. It didn't produce valid SQL
23+
and might cause SQL injection. (CVE-2024-36039)
24+
1025
## v1.1.0
1126

1227
Release date: 2023-06-26

pymysql/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949

5050
# PyMySQL version.
5151
# Used by setuptools and connection_attrs
52-
VERSION = (1, 1, 0, "final", 1)
53-
VERSION_STRING = "1.1.0"
52+
VERSION = (1, 1, 1, "final", 1)
53+
VERSION_STRING = "1.1.1"
5454

5555
### for mysqlclient compatibility
5656
### Django checks mysqlclient version.

0 commit comments

Comments
 (0)