Description
A vulnerability was found in python-sql where unary operators do not escape non-Expression.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-sql | < 1.5.2 | 1.5.2 | GHSA-pq9p-pc3p-9hm4 |
Advisories 5
- USN-8765-1 python-sql vulnerability Ubuntu Security Notices (USN) · Sep 16, 2026
- DSA-5795-1 python-sql - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3932-1 python-sql - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:0412-1 Security update for python-python-sql SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:0413-1 Security update for python-python-sql SUSE / openSUSE Security Updates · Feb 4, 2026