GHSA-pq9p-pc3p-9hm4

Suggest an improvement
Source
https://github.com/advisories/GHSA-pq9p-pc3p-9hm4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-pq9p-pc3p-9hm4/GHSA-pq9p-pc3p-9hm4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pq9p-pc3p-9hm4
Aliases
Published
2024-12-27T03:31:23Z
Modified
2025-01-06T21:38:40.954489Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
python-sql SQL injection vulnerability
Details

A vulnerability was found in python-sql where unary operators do not escape non-Expression (like And and Or) which makes any system exposing those vulnerable to an SQL injection attack.

Database specific
{
    "nvd_published_at": "2024-12-27T02:15:07Z",
    "cwe_ids": [
        "CWE-150"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-27T18:02:41Z"
}
References

Affected packages

PyPI / python-sql

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.2

Affected versions

0.*

0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9

1.*

1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1