Thursday, May 30, 2024

[USN-6801-1] PyMySQL vulnerability

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUMSg3c8x5FLOsZtRZWnYVadEvpMFAmZYjLAACgkQZWnYVadE
vpPoKw/+KEIgbJZspzZ4UUfcFbzpDnc3dpdPRzuEGukazBtvuFaBfuBvw9rPNZ28
7iGx9CkGrNsHpuT0TMyH/cDMhKquwb2Sg+Zv6FToCSZs+3zsDs1pf9ASxJrwM8WB
zEfXyGmxc/7ypkfFBWlAFctJwcPgZl2Lmq7cBY9LxTXY+f7jnv0vcm/dBFji7vyp
eC9xWoLM+/1tZopumLC8SfSg+SfNgnYf783yqa9VYI/qcr7IiMSfqvybbeN/vnNj
byulWl89eWtHfg0sZ8S6HGhrXErnlIBqU8rWt6DdWB5UTUCiQMupEuATy5+6oxkF
18biYthsnrULYftQ9+1WJ1jaq8UNaQ020xa84h0S/PIBxEzCQ67z7Nx6hOq076nq
M8Dwgvd5BRwIvJHOm9B2EBkFpeT8sut38fHf6TesXkbu0miJb+HwkHddW2Gb7fJ9
kKt6mQ6MnuS7Bzbjd1SFypd4xySoIzNg6/mGzZPc6JS1ikehRdlss8XIGSPrXKe9
UwCfeTq0coFZVrV+8+uRY0gNVvnAe7ruy+0HUrXLXI3u8DCHfJubvU9ib3Sigjgi
m7N1aurZ9C12FoDop+tccAFbztdDcnWfhOyT1AG4jhEmtOrFj9k8MF55XuNXmiJs
CJ9TbjSVgNduWLI1UaAGqtczMgWJvF5KjdrkEHgTGpRB0ENNAVI=
=O8kd
-----END PGP SIGNATURE-----
==========================================================================
Ubuntu Security Notice USN-6801-1
May 30, 2024

python-pymysql vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 23.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

PyMySQL could be vulnerable to SQL injection attacks.

Software Description:
- python-pymysql: Pure-Python MySQL driver

Details:

It was discovered that PyMySQL incorrectly escaped untrusted JSON input. An
attacker could possibly use this issue to perform SQL injection attacks.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
python3-pymysql 1.0.2-2ubuntu1.1

Ubuntu 23.10
python3-pymysql 1.0.2-1ubuntu1.23.10.1

Ubuntu 22.04 LTS
python3-pymysql 1.0.2-1ubuntu1.22.04.1

Ubuntu 20.04 LTS
python3-pymysql 0.9.3-2ubuntu3.1

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-6801-1
CVE-2024-36039

Package Information:
https://launchpad.net/ubuntu/+source/python-pymysql/1.0.2-2ubuntu1.1
https://launchpad.net/ubuntu/+source/python-pymysql/1.0.2-1ubuntu1.23.10.1
https://launchpad.net/ubuntu/+source/python-pymysql/1.0.2-1ubuntu1.22.04.1
https://launchpad.net/ubuntu/+source/python-pymysql/0.9.3-2ubuntu3.1

No comments:

Post a Comment