Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-9774 EUVD-2024-3604GHSA-pq9p-pc3p-9hm4PYSEC-2026-1855

Python-sql: python-sql unary operators does not escape non-expression

Published Dec 27, 2024 · Updated Aug 30, 2025 · Assigned by redhat

Description

A vulnerability was found in python-sql where unary operators do not escape non-Expression.

Affected products

VendorProductAffectedFixed
— python-sql < 1.5.2 1.5.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-sql 1.5.2-1 —
Debian 13 python-sql 1.5.2-1 —
Debian 12 python-sql 1.4.0-1+deb12u1 DSA-5795-1
Debian 11 python-sql 1.2.1-1+deb11u1 DLA-3932-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS python-sql 1.4.0-1+deb12u1build0.24.04.1 USN-8765-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS python-sql 1.3.0-1ubuntu0.1~esm1 USN-8765-1
Ubuntu Pro 20.04 LTS python-sql 1.1.0-1ubuntu0.1~esm1 USN-8765-1
Ubuntu Pro 18.04 LTS python-sql 0.9-1ubuntu0.1~esm1 USN-8765-1
Ubuntu Pro 16.04 LTS python-sql 0.8-1ubuntu0.1~esm1 USN-8765-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 python-python-sql 1.5.1-bp156.2.6.1 openSUSE-SU-2024:0413-1
SUSE Package Hub 15 SP5 python-python-sql 1.5.1-bp155.3.6.1 openSUSE-SU-2024:0412-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 python-python-sql 1.5.1-bp156.2.6.1 openSUSE-SU-2024:0413-1
openSUSE Leap 15.5 python-python-sql 1.5.1-bp155.3.6.1 openSUSE-SU-2024:0412-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-sql < 1.5.2 1.5.2 GHSA-pq9p-pc3p-9hm4

Advisories 5

References