USN-6801-1: PyMySQL vulnerability

Publication date

30 May 2024

Overview

PyMySQL could be vulnerable to SQL injection attacks.


Packages

Details

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

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

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
24.04 noble python3-pymysql –  1.0.2-2ubuntu1.1
23.10 mantic python3-pymysql –  1.0.2-1ubuntu1.23.10.1
22.04 jammy python3-pymysql –  1.0.2-1ubuntu1.22.04.1
20.04 focal python3-pymysql –  0.9.3-2ubuntu3.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›