USN-6801-1

Source
https://ubuntu.com/security/notices/USN-6801-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6801-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6801-1
Related
Published
2024-05-30T11:38:31.871457Z
Modified
2024-05-30T11:38:31.871457Z
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.

References

Affected packages

Ubuntu:20.04:LTS / python-pymysql

Package

Name
python-pymysql
Purl
pkg:deb/ubuntu/python-pymysql?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.3-2ubuntu3.1

Affected versions

0.*

0.9.3-1
0.9.3-2ubuntu1
0.9.3-2ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.9.3-2ubuntu3.1",
            "binary_name": "python-pymysql-doc"
        },
        {
            "binary_version": "0.9.3-2ubuntu3.1",
            "binary_name": "python3-pymysql"
        }
    ]
}

Ubuntu:22.04:LTS / python-pymysql

Package

Name
python-pymysql
Purl
pkg:deb/ubuntu/python-pymysql?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2-1ubuntu1.22.04.1

Affected versions

1.*

1.0.2-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.0.2-1ubuntu1.22.04.1",
            "binary_name": "python-pymysql-doc"
        },
        {
            "binary_version": "1.0.2-1ubuntu1.22.04.1",
            "binary_name": "python3-pymysql"
        }
    ]
}

Ubuntu:23.10 / python-pymysql

Package

Name
python-pymysql
Purl
pkg:deb/ubuntu/python-pymysql?arch=src?distro=mantic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2-1ubuntu1.23.10.1

Affected versions

1.*

1.0.2-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.0.2-1ubuntu1.23.10.1",
            "binary_name": "python-pymysql-doc"
        },
        {
            "binary_version": "1.0.2-1ubuntu1.23.10.1",
            "binary_name": "python3-pymysql"
        }
    ]
}

Ubuntu:24.04:LTS / python-pymysql

Package

Name
python-pymysql
Purl
pkg:deb/ubuntu/python-pymysql?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2-2ubuntu1.1

Affected versions

1.*

1.0.2-1ubuntu1
1.0.2-2ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.0.2-2ubuntu1.1",
            "binary_name": "python-pymysql-doc"
        },
        {
            "binary_version": "1.0.2-2ubuntu1.1",
            "binary_name": "python3-pymysql"
        }
    ]
}