Advisory

USN-6801-1

Also known as: CVE-2024-36039

Summary

python-pymysql vulnerability

Details

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

Severity

Not rated by the source.

Dates

Published
2024-05-30 11:38 UTC
Modified
2026-04-27 17:14 UTC

Affected packages and fixes

python-pymysql

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.9.3-2ubuntu3.1 (ecosystem)

Fixed versions

0.9.3-2ubuntu3.1

Fix

  • Fixed version 0.9.3-2ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-pymysql

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.0.2-1ubuntu1.22.04.1 (ecosystem)

Fixed versions

1.0.2-1ubuntu1.22.04.1

Fix

  • Fixed version 1.0.2-1ubuntu1.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-pymysql

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.0.2-2ubuntu1.1 (ecosystem)

Fixed versions

1.0.2-2ubuntu1.1

Fix

  • Fixed version 1.0.2-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences