USN-6801-1

Type: Security
Severity: Medium
Published: 2024-05-30
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that PyMySQL incorrectly escaped untrusted JSON input. An attacker could possibly use this issue to perform SQL injection attacks. Update Instructions: Run `sudo pro fix USN-6801-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-pymysql - 0.9.3-2ubuntu3.1 python-pymysql-doc - 0.9.3-2ubuntu3.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:19:51.483Z UTC.

Upstream Advisory

Affected Packages

  • python3-pymysql 0.9.3-2ubuntu3.1-0.9.3-2ubuntu3.1

  • python-pymysql-doc 0.9.3-2ubuntu3.1-0.9.3-2ubuntu3.1

  • python3-pymysql 1.0.2-1ubuntu1.22.04.1-1.0.2-1ubuntu1.22.04.1

  • python-pymysql-doc 1.0.2-1ubuntu1.22.04.1-1.0.2-1ubuntu1.22.04.1

  • python3-pymysql 1.0.2-2ubuntu1.1-1.0.2-2ubuntu1.1

  • python-pymysql-doc 1.0.2-2ubuntu1.1-1.0.2-2ubuntu1.1

Interested in being alerted when there are new versions of python3-pymysql and the other packages? Set up an alert.
USN-6801-1: PyMySQL vulnerability | Package Alert